Content-Type: multipart/mixed; boundary="===============7713103018902565810==" MIME-Version: 1.0 From: kbuild test robot To: kbuild-all@lists.01.org Subject: Re: [PATCH 10/14] nfsd: implement the xattr procedure functions. Date: Thu, 12 Mar 2020 18:28:19 +0800 Message-ID: <202003121820.IaQtjmvN%lkp@intel.com> In-Reply-To: <20200311195954.27117-11-fllinden@amazon.com> List-Id: --===============7713103018902565810== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Hi Frank, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on nfsd/nfsd-next] [also build test WARNING on nfs/linux-next linus/master v5.6-rc5 next-20200= 311] [cannot apply to cel/for-next] [if your patch is applied to the wrong git tree, please drop us a note to h= elp improve the system. BTW, we also suggest to use '--base' option to specify = the base tree in git format-patch, please see https://stackoverflow.com/a/37406= 982] url: https://github.com/0day-ci/linux/commits/Frank-van-der-Linden/serve= r-side-user-xattr-support-RFC-8276/20200312-064928 base: git://linux-nfs.org/~bfields/linux.git nfsd-next reproduce: # apt-get install sparse # sparse version: v0.6.1-174-g094d5a94-dirty make ARCH=3Dx86_64 allmodconfig make C=3D1 CF=3D'-fdiagnostic-prefix -D__CHECK_ENDIAN__' If you fix the issue, kindly add following tag Reported-by: kbuild test robot sparse warnings: (new ones prefixed by >>) fs/nfsd/nfs4proc.c:1541:24: sparse: sparse: incorrect type in assignment= (different base types) @@ expected restricted __be32 [assigned] [userty= pe] status @@ got e] status @@ fs/nfsd/nfs4proc.c:1541:24: sparse: expected restricted __be32 [assig= ned] [usertype] status fs/nfsd/nfs4proc.c:1541:24: sparse: got int >> fs/nfsd/nfs4proc.c:2122:13: sparse: sparse: incorrect type in assignment= (different base types) @@ expected int ret @@ got restricted __int r= et @@ >> fs/nfsd/nfs4proc.c:2122:13: sparse: expected int ret >> fs/nfsd/nfs4proc.c:2122:13: sparse: got restricted __be32 >> fs/nfsd/nfs4proc.c:2129:16: sparse: sparse: incorrect type in return exp= ression (different base types) @@ expected restricted __be32 @@ got b= e32 @@ >> fs/nfsd/nfs4proc.c:2129:16: sparse: expected restricted __be32 >> fs/nfsd/nfs4proc.c:2129:16: sparse: got int ret fs/nfsd/nfs4proc.c:2145:13: sparse: sparse: incorrect type in assignment= (different base types) @@ expected int ret @@ got restricted __int r= et @@ fs/nfsd/nfs4proc.c:2145:13: sparse: expected int ret fs/nfsd/nfs4proc.c:2145:13: sparse: got restricted __be32 fs/nfsd/nfs4proc.c:2148:24: sparse: sparse: incorrect type in return exp= ression (different base types) @@ expected restricted __be32 @@ got b= e32 @@ fs/nfsd/nfs4proc.c:2148:24: sparse: expected restricted __be32 fs/nfsd/nfs4proc.c:2148:24: sparse: got int ret fs/nfsd/nfs4proc.c:2165:13: sparse: sparse: incorrect type in assignment= (different base types) @@ expected int ret @@ got restricted __int r= et @@ fs/nfsd/nfs4proc.c:2165:13: sparse: expected int ret fs/nfsd/nfs4proc.c:2165:13: sparse: got restricted __be32 fs/nfsd/nfs4proc.c:2171:16: sparse: sparse: incorrect type in return exp= ression (different base types) @@ expected restricted __be32 @@ got b= e32 @@ fs/nfsd/nfs4proc.c:2171:16: sparse: expected restricted __be32 fs/nfsd/nfs4proc.c:2171:16: sparse: got int ret vim +2122 fs/nfsd/nfs4proc.c 2111 = 2112 static __be32 2113 nfsd4_setxattr(struct svc_rqst *rqstp, struct nfsd4_compound_state *= cstate, 2114 union nfsd4_op_u *u) 2115 { 2116 struct nfsd4_setxattr *setxattr =3D &u->setxattr; 2117 int ret; 2118 = 2119 if (opens_in_grace(SVC_NET(rqstp))) 2120 return nfserr_grace; 2121 = > 2122 ret =3D nfsd_setxattr(rqstp, &cstate->current_fh, setxattr->setxa_n= ame, 2123 setxattr->setxa_buf, setxattr->setxa_len, 2124 setxattr->setxa_flags); 2125 = 2126 if (!ret) 2127 set_change_info(&setxattr->setxa_cinfo, &cstate->current_fh); 2128 = > 2129 return ret; 2130 } 2131 = --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org --===============7713103018902565810==--