projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c98aa86
)
wmi: (!x & y) strikes again
author
Al Viro
<viro@ZenIV.linux.org.uk>
Wed, 13 Feb 2008 04:03:25 +0000
(
04:03
+0000)
committer
Linus Torvalds
<torvalds@woody.linux-foundation.org>
Wed, 13 Feb 2008 15:36:27 +0000
(07:36 -0800)
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>
drivers/acpi/wmi.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/acpi/wmi.c
b/drivers/acpi/wmi.c
index 457ed3d3f51cd3bcd7841eadc694e60c17404b30..efacc9f8bfe31a0b9c84b5aec4ea11c8285dc527 100644
(file)
--- 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)