diff options
author | YueHaibing <[email protected]> | 2021-02-18 17:28:12 +0800 |
---|---|---|
committer | Steve French <[email protected]> | 2021-02-19 21:29:10 -0600 |
commit | af982da9a612295a91f367469f8945c916a20dfd (patch) | |
tree | 61b10a9072ab6f191142cbb3c0700fe2e46305d1 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 03e9bb1a0b403c29d5e8679be68addc230472390 (diff) |
cifs: Fix inconsistent IS_ERR and PTR_ERR
Fix inconsistent IS_ERR and PTR_ERR in cifs_find_swn_reg(). The proper
pointer to be passed as argument to PTR_ERR() is share_name.
This bug was detected with the help of Coccinelle.
Fixes: bf80e5d4259a ("cifs: Send witness register and unregister commands to userspace daemon")
Signed-off-by: YueHaibing <[email protected]>
Reviewed-by: Samuel Cabrero <[email protected]>
Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions