public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* [Fwd: Re: ASL help with latest acpi and compaq presario 2800t]
@ 2003-02-10 20:04 Darren Benham
       [not found] ` <64854.64.164.111.5.1044907496.squirrel-FG1iuTdj8bisTnJN9+BGXg@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Darren Benham @ 2003-02-10 20:04 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

oops... for got to include the list...

-------- Original Message --------
Subject: Re: [ACPI] ASL help with latest acpi and compaq presario 2800t
From: "Darren Benham" <dbenham-FG1iuTdj8bisTnJN9+BGXg@public.gmane.org>
Date: Mon, February 10, 2003 12:01 pm
To: <ducrot-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>


Ducrot Bruno said:
> On Sun, Feb 09, 2003 at 05:44:48PM -0700, Kevin Fenzi wrote:
>
> Try:
>
> --- dsdt.asl	2003/02/10 13:49:25	1.1
> +++ dsdt.asl	2003/02/10 13:54:53
> @@ -1916,7 +1915,7 @@
>                         }
>                         Method(_OFF) {
>                             If(LOr(\_SB_.C020, LEqual(0x0, 0x1))) {
> -                                Return(0x0)
> +                                /* Return(0x0) */
>                             }
>                             C132(0x3, 0x0)
>                         }
> @@ -2202,7 +2201,7 @@
>                         }
>                         Method(_OFF) {
>                             If(LOr(\_SB_.C023, LEqual(0x0, 0x1))) {
> -                                Return(0x0)
> +                                /* Return(0x0) */
>                             }
>                             C132(0x1, 0x0)
>                         }

I question these two changes.  It really does seem as if the "return"
statements are to prevent the rest of the code from being executed in
certain cases.  Wouldn't it be wiser to leave them in and either 1)
ignore the warning or 2) put "return statements at the end of the
block?--  Darren


-- 
Darren




-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com

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

end of thread, other threads:[~2003-02-11 20:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-10 20:04 [Fwd: Re: ASL help with latest acpi and compaq presario 2800t] Darren Benham
     [not found] ` <64854.64.164.111.5.1044907496.squirrel-FG1iuTdj8bisTnJN9+BGXg@public.gmane.org>
2003-02-11 13:37   ` Ducrot Bruno
     [not found]     ` <20030211133711.GL25625-j6u/t2rXLliUoIHC/UFpr9i2O/JbrIOy@public.gmane.org>
2003-02-11 17:10       ` dbenham-FG1iuTdj8bisTnJN9+BGXg
     [not found]         ` <20030211171005.GA31041-FG1iuTdj8bisTnJN9+BGXg@public.gmane.org>
2003-02-11 20:00           ` Ducrot Bruno

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