]> git.baikalelectronics.ru Git - kernel.git/commit
staging: ccree: remove extraneous spin_unlock_bh() in error handler
authorIan Chard <ian@chard.org>
Wed, 10 May 2017 09:20:59 +0000 (10:20 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 15 May 2017 09:48:44 +0000 (11:48 +0200)
commit2a73199cdf645e6660b8820a8715375f7cefb535
treeb5017684383cf2fb88b8f2e17cbd00c5d862a823
parent727e9e6033f124ec141aa52cc133dadc866af0f3
staging: ccree: remove extraneous spin_unlock_bh() in error handler

An early error handler in send_request() tries to release a spinlock,
but the lock isn't acquired until the loop below it is entered.

Signed-off-by: Ian Chard <ian@chard.org>
Acked-by: Gilad Ben-Yossef <gilad@benyossef.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ccree/ssi_request_mgr.c