diff options
author | 2020-10-07 22:57:41 +0200 | |
---|---|---|
committer | 2020-10-09 18:15:47 -0700 | |
commit | c60a2cefb32d2f0e88141b942f92d94bd69bb56f (patch) | |
tree | 5d3f219cb6d7fe04abba79d52677451f548e133f /scripts/bpf_helpers_doc.py | |
parent | Merge tag 'linux-can-next-for-5.10-20201007' of git://git.kernel.org/pub/scm/linux/kernel/git/mkl/linux-can-next (diff) | |
download | linux-dev-c60a2cefb32d2f0e88141b942f92d94bd69bb56f.tar.xz linux-dev-c60a2cefb32d2f0e88141b942f92d94bd69bb56f.zip |
net/smc: consolidate unlocking in same function
Static code checkers warn of inconsistent returns because the lgr mutex
is locked in one function and unlocked in a function called by the
locking function:
net/smc/af_smc.c:823 smc_connect_rdma() warn: inconsistent returns 'smc_client_lgr_pending'.
net/smc/af_smc.c:897 smc_connect_ism() warn: inconsistent returns 'smc_server_lgr_pending'.
Make the code consistent by doing the unlock in the same function that
fetches the lock. No functional changes.
Signed-off-by: Karsten Graul <kgraul@linux.ibm.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions