提交 e6bafba5 编写于 作者: A Al Viro 提交者: Linus Torvalds

wmi: (!x & y) strikes again

Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
Acked-by: NCarlos Corbacho <carlos@strangeworlds.co.uk>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册