]> git.baikalelectronics.ru Git - kernel.git/commit
platform/x86: dell-smbios-wmi: release mutex lock on WMI call failure
authorMario Limonciello <mario.limonciello@dell.com>
Mon, 6 Nov 2017 03:34:34 +0000 (21:34 -0600)
committerDarren Hart (VMware) <dvhart@infradead.org>
Wed, 8 Nov 2017 20:58:37 +0000 (12:58 -0800)
commitc38c1d66229cae2e8c83dd881af039cbc5a9764c
treebaf2d32567b87f17dfd17dd11e780cc73df90eb1
parent20a502c45455ecf800ed148edcbb33ae85b57147
platform/x86: dell-smbios-wmi: release mutex lock on WMI call failure

Unbound devices may race with calling this function causing the mutex
to stay locked.  This failure mode should have released the mutex too.

Signed-off-by: Mario Limonciello <mario.limonciello@dell.com>
Signed-off-by: Darren Hart (VMware) <dvhart@infradead.org>
drivers/platform/x86/dell-smbios-wmi.c