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:
Al Viro 2008-02-13 04:03:25 +00:00 committed by Linus Torvalds
parent c98aa86df3
commit e6bafba5b4

View file

@ -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)