Commit e6bafba5 authored by Al Viro's avatar Al Viro Committed by Linus Torvalds

wmi: (!x & y) strikes again

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
Acked-by: default avatarCarlos Corbacho <carlos@strangeworlds.co.uk>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent c98aa86d
...@@ -247,7 +247,7 @@ u32 method_id, const struct acpi_buffer *in, struct acpi_buffer *out) ...@@ -247,7 +247,7 @@ u32 method_id, const struct acpi_buffer *in, struct acpi_buffer *out)
block = &wblock->gblock; block = &wblock->gblock;
handle = wblock->handle; handle = wblock->handle;
if (!block->flags & ACPI_WMI_METHOD) if (!(block->flags & ACPI_WMI_METHOD))
return AE_BAD_DATA; return AE_BAD_DATA;
if (block->instance_count < instance) if (block->instance_count < instance)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment