forked from Minki/linux
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>
This commit is contained in:
parent
c98aa86df3
commit
e6bafba5b4
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user