diff options
author | Al Viro <viro@ZenIV.linux.org.uk> | 2008-02-13 04:03:25 +0000 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-13 07:36:27 -0800 |
commit | e6bafba5b4765a5a252f1b8d31cbf6d2459da337 (patch) | |
tree | 85cbb18909933ff16cdd816c2225a81585e2907a /drivers/acpi | |
parent | c98aa86df3169e5d6275305376043134caa69831 (diff) | |
download | op-kernel-dev-e6bafba5b4765a5a252f1b8d31cbf6d2459da337.zip op-kernel-dev-e6bafba5b4765a5a252f1b8d31cbf6d2459da337.tar.gz |
wmi: (!x & y) strikes again
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Acked-by: Carlos Corbacho <carlos@strangeworlds.co.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/acpi')
-rw-r--r-- | drivers/acpi/wmi.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) |