commit | 66117a9d9a8ca948680d6554769ef9e88f936954 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Fri Apr 28 15:56:09 2017 +0300 |
committer | David S. Miller <davem@davemloft.net> | Sun Apr 30 22:40:45 2017 -0400 |
tree | 301444f835e3483a5ed454b0f9a809b2990842e2 | |
parent | 1c942c941d3e209fb8729d0c0f6322d55b5e0444 [diff] |
qed: Unlock on error in qed_vf_pf_acquire() My static checker complains that we're holding a mutex on this error path. Let's goto exit instead of returning directly. Fixes: b0bccb69eba3 ("qed: Change locking scheme for VF channel") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Acked-by: Yuval Mintz <Yuval.Mintz@cavium.com> Signed-off-by: David S. Miller <davem@davemloft.net>