Message ID | 20181025013101.GA41139@lkp-g5 (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | fix ptr_ret.cocci warnings | expand |
--- a/fs/nfs/nfs4file.c +++ b/fs/nfs/nfs4file.c @@ -342,7 +342,7 @@ nfs42_ssc_open(struct vfsmount *ss_mnt, res = filep; out: dprintk("<-- %s error %ld filep %p r_ino %p\n", - __func__, IS_ERR(res) ? PTR_ERR(res) : 0, res, r_ino); + __func__, PTR_ERR_OR_ZERO(res), res, r_ino); return res; out_stateowner: