mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Fwd: 2.6.26.3: ACPI: Fix thermal shutdowns
@ 2008-08-19 21:16 Thomas Meyer
  2008-08-19 21:28 ` Rafael J. Wysocki
  0 siblings, 1 reply; 2+ messages in thread
From: Thomas Meyer @ 2008-08-19 21:16 UTC (permalink / raw)
  To: linux-kernel


Hi.

This one should go in 2.6.26.3, too:

I didn't see it in Greg's list:

ACPI: Fix thermal shutdowns

Do not use unsigned int if there is test for negative number...

See drivers/acpi/processor_perflib.c
  static unsigned int ignore_ppc = -1;
...
  if (event == CPUFREQ_START && ignore_ppc <= 0) {
       ignore_ppc = 0;
...


http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=9f497bcc695fb828da023d74ad3c966b1e58ad21

Greets
thomas


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Fwd: 2.6.26.3: ACPI: Fix thermal shutdowns
  2008-08-19 21:16 Fwd: 2.6.26.3: ACPI: Fix thermal shutdowns Thomas Meyer
@ 2008-08-19 21:28 ` Rafael J. Wysocki
  0 siblings, 0 replies; 2+ messages in thread
From: Rafael J. Wysocki @ 2008-08-19 21:28 UTC (permalink / raw)
  To: Thomas Meyer; +Cc: linux-kernel, Greg KH

On Tuesday, 19 of August 2008, Thomas Meyer wrote:
> 
> Hi.
> 
> This one should go in 2.6.26.3, too:
> 
> I didn't see it in Greg's list:

Why haven't you sent a CC to Greg, then? :-)

> ACPI: Fix thermal shutdowns
> 
> Do not use unsigned int if there is test for negative number...
> 
> See drivers/acpi/processor_perflib.c
>   static unsigned int ignore_ppc = -1;
> ...
>   if (event == CPUFREQ_START && ignore_ppc <= 0) {
>        ignore_ppc = 0;
> ...
> 
> 
> http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=9f497bcc695fb828da023d74ad3c966b1e58ad21

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-08-19 21:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-08-19 21:16 Fwd: 2.6.26.3: ACPI: Fix thermal shutdowns Thomas Meyer
2008-08-19 21:28 ` Rafael J. Wysocki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®