diff options
| author | Dan Carpenter <dan.carpenter@oracle.com> | 2017-04-28 15:56:09 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2017-05-01 05:40:45 +0300 |
| commit | 66117a9d9a8ca948680d6554769ef9e88f936954 (patch) | |
| tree | 301444f835e3483a5ed454b0f9a809b2990842e2 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
| parent | 1c942c941d3e209fb8729d0c0f6322d55b5e0444 (diff) | |
| download | linux-66117a9d9a8ca948680d6554769ef9e88f936954.tar.xz | |
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 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions
