Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

wmi: (!x & y) strikes again

parent c98aa86d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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)