diff options
author | Stewart Smith <stewart@linux.ibm.com> | 2018-04-27 15:59:44 +1000 |
---|---|---|
committer | Stewart Smith <stewart@linux.ibm.com> | 2018-04-29 19:55:04 -0500 |
commit | 693a204364b0c6d00ae6daa1721fd5c03a4de74e (patch) | |
tree | 8ebc1fdde442aecc5e1d99995cc8e453def55c4f /hw/xive.c | |
parent | a22ba4576ad35dccb86622e71442794d09e62bce (diff) | |
download | skiboot-693a204364b0c6d00ae6daa1721fd5c03a4de74e.zip skiboot-693a204364b0c6d00ae6daa1721fd5c03a4de74e.tar.gz skiboot-693a204364b0c6d00ae6daa1721fd5c03a4de74e.tar.bz2 |
xive: fix missing unlock in error path
Found with sparse and some added lock annotations.
CC: stable # 5.10+
Fixes: de82c2e0e
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
Diffstat (limited to 'hw/xive.c')
-rw-r--r-- | hw/xive.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -4402,6 +4402,7 @@ static int64_t opal_xive_set_vp_info(uint64_t vp_id, xive_dbg(x, "Attempt at enabling single escalate" " on xive rev %d failed\n", x->rev); + unlock(&x->lock); return OPAL_PARAMETER; } rc = xive_setup_silent_gather(vp_id, true); |