diff options
author | Alistair Popple <alistair@popple.id.au> | 2015-02-20 18:01:20 +1100 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2015-02-23 15:09:59 +1100 |
commit | 42167a5feb7627235cbfec059ec66def0ef42191 (patch) | |
tree | 8ae9499489ebdd33f7f05927b76ef69aae9e5f39 /hw/bt.c | |
parent | e2f52aa8ea1c31794d03c6d7298f8270e702698d (diff) | |
download | skiboot-42167a5feb7627235cbfec059ec66def0ef42191.zip skiboot-42167a5feb7627235cbfec059ec66def0ef42191.tar.gz skiboot-42167a5feb7627235cbfec059ec66def0ef42191.tar.bz2 |
bt: Minor locking fix for bt_get_resp()
bt_get_resp() should return with the bt lock held. Under very rare
error conditions bt_get_resp() would drop the lock before
returning.
Signed-off-by: Alistair Popple <alistair@popple.id.au>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hw/bt.c')
-rw-r--r-- | hw/bt.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -254,7 +254,6 @@ static void bt_get_resp(void) prlog(PR_INFO, "BT: Nobody cared about a response to an BT/IPMI message\n"); bt_flush_msg(); bt_set_state(BT_STATE_B_BUSY); - unlock(&bt.lock); return; } |