diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2017-04-28 15:56:09 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-04-30 22:40:45 -0400 |
commit | 66117a9d9a8ca948680d6554769ef9e88f936954 (patch) | |
tree | 301444f835e3483a5ed454b0f9a809b2990842e2 /net/core/lwtunnel.c | |
parent | 1c942c941d3e209fb8729d0c0f6322d55b5e0444 (diff) | |
download | linux-stable-66117a9d9a8ca948680d6554769ef9e88f936954.tar.gz linux-stable-66117a9d9a8ca948680d6554769ef9e88f936954.tar.bz2 linux-stable-66117a9d9a8ca948680d6554769ef9e88f936954.zip |
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>
Diffstat (limited to 'net/core/lwtunnel.c')
0 files changed, 0 insertions, 0 deletions