diff options
| author | Xiubo Li <[email protected]> | 2023-05-08 06:45:01 +0000 |
|---|---|---|
| committer | Ilya Dryomov <[email protected]> | 2023-05-18 09:15:28 +0000 |
| commit | 9aaa7eb018661b2da221362d9bacb096bd596f52 (patch) | |
| tree | 5f434b0e741de48e5486dbcf095a4199fd526937 /lib/string_helpers.c | |
| parent | Linux 6.4-rc2 (diff) | |
| download | kernel-9aaa7eb018661b2da221362d9bacb096bd596f52.tar.gz kernel-9aaa7eb018661b2da221362d9bacb096bd596f52.zip | |
ceph: silence smatch warning in reconnect_caps_cb()
Smatch static checker warning:
fs/ceph/mds_client.c:3968 reconnect_caps_cb()
warn: missing error code here? '__get_cap_for_mds()' failed. 'err' = '0'
[ idryomov: Dan says that Smatch considers it intentional only if the
"ret = 0;" assignment is within 4 or 5 lines of the goto. ]
Reported-by: Dan Carpenter <[email protected]>
Signed-off-by: Xiubo Li <[email protected]>
Reviewed-by: Ilya Dryomov <[email protected]>
Signed-off-by: Ilya Dryomov <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions
