public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: Pavel Machek <pavel-+ZI9xUNit7I@public.gmane.org>
To: "Wang, Zhenyu Z" <zhenyu.z.wang-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: [PATCH] thermal active cooling step
Date: Wed, 23 Jun 2004 11:25:57 +0200	[thread overview]
Message-ID: <20040623092557.GA16698@elf.ucw.cz> (raw)
In-Reply-To: <6E0C289723A0564F9A8279E236E8565F07A55409-4yWAQGcml64divtuJNk2fFDQ4js95KgL@public.gmane.org>

Hi!

> Fine. Resend patch below.
> 
> -zhen
> 
> 
> --- linux-2.6.7/drivers/acpi/thermal.c.orig     2004-06-23 09:16:13.360411712 +0800
> +++ linux-2.6.7/drivers/acpi/thermal.c  2004-06-23 09:17:51.985418432 +0800
> @@ -610,7 +610,7 @@ acpi_thermal_active (
>                  * associated with this active threshold.
>                  */
>                 if (tz->temperature >= active->temperature) {
> -                       if (active->temperature > maxtemp)
> +                       if (active->temperature > maxtemp){

Put space between ) and {

>                                 tz->state.active_index = i, maxtemp = active->temperature;
>                         if (!active->flags.enabled) {
>                                 for (j = 0; j < active->devices.count; j++) {
> @@ -623,6 +623,7 @@ acpi_thermal_active (
>                                         ACPI_DEBUG_PRINT((ACPI_DB_INFO, "Cooling device [%p] now 'on'\n", active->devices.handles[j]));
>                                 }
>                         }

This whole block needs to be moved one tab to the right...

> +                       }

-- 
People were complaining that M$ turns users into beta-testers...
...jr ghea gurz vagb qrirybcref, naq gurl frrz gb yvxr vg gung jnl!


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com

  parent reply	other threads:[~2004-06-23  9:25 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-23  1:51 [PATCH] thermal active cooling step Wang, Zhenyu Z
     [not found] ` <6E0C289723A0564F9A8279E236E8565F07A55409-4yWAQGcml64divtuJNk2fFDQ4js95KgL@public.gmane.org>
2004-06-23  9:25   ` Pavel Machek [this message]
  -- strict thread matches above, loose matches on Subject: below --
2004-06-23  9:36 Wang, Zhenyu Z
2004-05-28  5:23 Wang, Zhenyu Z
     [not found] ` <6E0C289723A0564F9A8279E236E8565F078052FF-4yWAQGcml64divtuJNk2fFDQ4js95KgL@public.gmane.org>
2004-06-22 17:37   ` Pavel Machek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040623092557.GA16698@elf.ucw.cz \
    --to=pavel-+zi9xunit7i@public.gmane.org \
    --cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    --cc=zhenyu.z.wang-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox