Skip to content
Snippets Groups Projects
Commit e6bafba5 authored by Al Viro's avatar Al Viro Committed by Linus Torvalds
Browse files

wmi: (!x & y) strikes again

parent c98aa86d
No related branches found
No related tags found
No related merge requests found
...@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment