Re: [PATCH] wmi: (!x & y) strikes again

From: Carlos Corbacho
Date: Wed Feb 13 2008 - 02:15:10 EST


On Wednesday 13 February 2008 04:03:25 Al Viro wrote:
> Signed-off-by: Al Viro <viro@xxxxxxxxxxxxxxxxxx>

Acked-by: Carlos Corbacho <carlos@xxxxxxxxxxxxxxxxxxx>

> ---
> 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@xxxxxxxxxxxxxxxxxxx
Web: strangeworlds.co.uk
GPG Key ID: 0x23EE722D
--
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/