lkml.org 
[lkml]   [2008]   [Feb]   [13]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
FromCarlos Corbacho <>
SubjectRe: [PATCH] wmi: (!x & y) strikes again
DateWed, 13 Feb 2008 07:14:50 +0000
On Wednesday 13 February 2008 04:03:25 Al Viro wrote:
> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>

Acked-by: Carlos Corbacho <carlos@strangeworlds.co.uk>

> ---
> d2d6f5b9eb315a53043a722d952bb21ed5ca1229
> diff --git a/drivers/acpi/wmi.c b/drivers/acpi/wmi.c
> index 457ed3d..efacc9f 100644
> --- a/drivers/acpi/wmi.c
> +++ b/drivers/acpi/wmi.c
> @@ -247,7 +247,7 @@ u32 method_id, const struct acpi_buffer *in, struct acpi_buffer *out)
>  	block = &wblock->gblock;
>  	handle = wblock->handle;
> 
> -	if (!block->flags & ACPI_WMI_METHOD)
> +	if (!(block->flags & ACPI_WMI_METHOD))
>  		return AE_BAD_DATA;
> 
>  	if (block->instance_count < instance)
> 
-- 
E-Mail: carlos@strangeworlds.co.uk
Web: strangeworlds.co.uk
GPG Key ID: 0x23EE722D


\
 
 \ /
  Last update: 2008-02-13 08:17    [W:0.210 / U:0.770 seconds]
©2003-2008 Jasper Spaans