Skip to content
Commit 97277717 authored by Alexey Khoroshilov's avatar Alexey Khoroshilov Committed by Darren Hart (VMware)
Browse files

platform/x86: wmi: Fix error handling in acpi_wmi_init()



The order of resource deallocations is messed up in acpi_wmi_init().
It should be vice versa.

Found by Linux Driver Verification project (linuxtesting.org).

Signed-off-by: default avatarAlexey Khoroshilov <khoroshilov@ispras.ru>
Signed-off-by: default avatarDarren Hart (VMware) <dvhart@infradead.org>
parent a00c6963
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