]> git.baikalelectronics.ru Git - kernel.git/commit
fore200e: fix missing unlock on error in bsq_audit()
authorWei Yongjun <weiyongjun1@huawei.com>
Mon, 15 Oct 2018 03:07:16 +0000 (03:07 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 16 Oct 2018 05:48:35 +0000 (22:48 -0700)
commit02d44873f2530896c52828e0d40b4b9948f48fc4
tree8c39b5c161b30be55007046d34c40acb158da5fa
parentc97fcd7b8d35f30993ed186bcd6876173d7478a2
fore200e: fix missing unlock on error in bsq_audit()

Add the missing unlock before return from function bsq_audit()
in the error handling case.

Fixes: ec306e41f63b ("fore200e: check for dma mapping failures")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/atm/fore200e.c