Re: [tip:x86/debug] therm_throt.c: Trival printk message fix for aunsuitable abbreviation of 'thermal'

From: Jean Delvare
Date: Sun Sep 05 2010 - 13:00:07 EST


6 people and 2 mailing lists Cc'd for a one-line trivial patch??

On Sun, 5 Sep 2010 13:06:45 GMT, tip-bot for Jin Dongming wrote:
> Commit-ID: 6981fe03b2055685fb6da40f54518bc6baf2b751
> Gitweb: http://git.kernel.org/tip/6981fe03b2055685fb6da40f54518bc6baf2b751
> Author: Jin Dongming <jin.dongming@xxxxxxxxxxxxxxxxxx>
> AuthorDate: Tue, 31 Aug 2010 09:13:33 +0900
> Committer: Ingo Molnar <mingo@xxxxxxx>
> CommitDate: Sun, 5 Sep 2010 14:39:15 +0200
>
> therm_throt.c: Trival printk message fix for a unsuitable abbreviation of 'thermal'

Typo: trivial.

>
> In unexpected_thermal_interrupt(), "LVT TMR interrupt" is used
> in error message.
>
> I don't think TMR is a suitable abbreviation for thermal.
> 1.TMR has been used in IA32 Architectures Software Developer's
> Manual, and is the abbreviation for Trigger Mode Register.
> 2.There is not an standard abbreviation "TMR" defined for thermal
> in IA32 Architectures Software Developer's Manual.
> 3.Though we could understand it as Thermal Monitor Register, it is
> easy to be misunderstood as a *TIMER* interrupt also.
>
> I think this patch will fix it.
>
> Signed-off-by: Jin Dongming <jin.dongming@xxxxxxxxxxxxxxxxxx>
> Cc: Brown
> Cc: Len <len.brown@xxxxxxxxx>

Something's fishy here.

> Cc: Hidetoshi Seto <seto.hidetoshi@xxxxxxxxxxxxxx>
> Cc: lm-sensors@xxxxxxxxxxxxxx <lm-sensors@xxxxxxxxxxxxxx>

Mailing lists shouldn't be included in Cc headers.

> Cc: H. Peter Anvin <hpa@xxxxxxxxxxxxxxx>
> Cc: Jean Delvare <khali@xxxxxxxxxxxx>

This should read:

Reviewed-by: Jean Delvare <khali@xxxxxxxxxxxx>

> Cc: Fenghua Yu <fenghua.yu@xxxxxxxxx>
> LKML-Reference: <4C7C492D.5020704@xxxxxxxxxxxxxxxxxx>
> Signed-off-by: Ingo Molnar <mingo@xxxxxxx>
> ---
> arch/x86/kernel/cpu/mcheck/therm_throt.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/arch/x86/kernel/cpu/mcheck/therm_throt.c b/arch/x86/kernel/cpu/mcheck/therm_throt.c
> index c2a8b26..1d0f743 100644
> --- a/arch/x86/kernel/cpu/mcheck/therm_throt.c
> +++ b/arch/x86/kernel/cpu/mcheck/therm_throt.c
> @@ -348,7 +348,7 @@ static void intel_thermal_interrupt(void)
>
> static void unexpected_thermal_interrupt(void)
> {
> - printk(KERN_ERR "CPU%d: Unexpected LVT TMR interrupt!\n",
> + printk(KERN_ERR "CPU%d: Unexpected LVT thermal interrupt!\n",
> smp_processor_id());
> add_taint(TAINT_MACHINE_CHECK);
> }


--
Jean Delvare
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/