LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH] wmi: (!x & y) strikes again
@ 2008-02-13 4:03 Al Viro
2008-02-13 7:14 ` Carlos Corbacho
0 siblings, 1 reply; 2+ messages in thread
From: Al Viro @ 2008-02-13 4:03 UTC (permalink / raw)
To: Linus Torvalds; +Cc: linux-kernel, Carlos Corbacho
Signed-off-by: Al Viro <viro@zeniv.linux.org.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)
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] wmi: (!x & y) strikes again
2008-02-13 4:03 [PATCH] wmi: (!x & y) strikes again Al Viro
@ 2008-02-13 7:14 ` Carlos Corbacho
0 siblings, 0 replies; 2+ messages in thread
From: Carlos Corbacho @ 2008-02-13 7:14 UTC (permalink / raw)
To: Al Viro; +Cc: Linus Torvalds, linux-kernel
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-02-13 7:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-13 4:03 [PATCH] wmi: (!x & y) strikes again Al Viro
2008-02-13 7:14 ` Carlos Corbacho
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).