]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
ipmi/powernv: Fix minor locking bug
authorAlistair Popple <alistair@popple.id.au>
Fri, 10 Apr 2015 07:32:20 +0000 (17:32 +1000)
committerCorey Minyard <cminyard@mvista.com>
Sat, 11 Apr 2015 01:51:42 +0000 (20:51 -0500)
commitad1ed2a9dd4c435d6a3ce470211db9a8d107c3e0
tree1e19a70f5e7d15fab56ff7f1dfefa74817624ead
parent1e7d6a45f6b10bc48a1453bca3d829e210546571
ipmi/powernv: Fix minor locking bug

If ipmi_powernv_recv(...) is called without a current message it
prints a warning and returns. However it fails to release the message
lock causing the system to dead lock during any subsequent IPMI
operations.

This error path should never normally be taken unless there are bugs
elsewhere in the system.

Signed-off-by: Alistair Popple <alistair@popple.id.au>
Signed-off-by: Corey Minyard <cminyard@mvista.com>
drivers/char/ipmi/ipmi_powernv.c