commit | a09ba13eefb155a00d8d50008a0c0a2406985ddd | [log] [tgz] |
---|---|---|
author | Asai Thambi S P <asamymuthupa@micron.com> | Mon Apr 16 21:27:55 2012 +0200 |
committer | Jens Axboe <axboe@kernel.dk> | Fri May 11 16:42:14 2012 +0200 |
tree | 1afe2bddb155f43ac9cfbad623aa6550cc4d4e84 | |
parent | d88a440eddf288c967daed827147e1121c2ab6b5 [diff] |
mtip32xx: release the semaphore on an error path Release the semaphore in an error path in mtip_hw_get_scatterlist(). This fixes the smatch warning inconsistent returns. Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Asai Thambi S P <asamymuthupa@micron.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>