Skip to content

Commit

Permalink
wmi: (!x & y) strikes again
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Al Viro authored and Linus Torvalds committed Feb 13, 2008
1 parent c98aa86 commit e6bafba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/acpi/wmi.c
Expand Up @@ -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)
Expand Down

0 comments on commit e6bafba

Please sign in to comment.