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

wmi: (!x & y) strikes again

Signed-off-by: default avatarAl Viro <>
Acked-by: default avatarCarlos Corbacho <>
Signed-off-by: default avatarLinus Torvalds <>
parent c98aa86d
......@@ -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)
Supports Markdown
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