From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============6125287839821498644==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: Re: [RFC PATCH v2 4/9] RDMA/rxe: Implement RC RDMA FLUSH service in requester side Date: Wed, 26 Jan 2022 03:17:04 +0800 Message-ID: <202201260035.X4xooLWv-lkp@intel.com> In-Reply-To: <20220125085041.49175-5-lizhijian@cn.fujitsu.com> List-Id: --===============6125287839821498644== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Hi Li, [FYI, it's a private test report for your RFC patch.] [auto build test WARNING on rdma/for-next] [also build test WARNING on v5.17-rc1 next-20220125] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Li-Zhijian/RDMA-rxe-Add-RD= MA-FLUSH-operation/20220125-165822 base: https://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma.git for-n= ext config: x86_64-randconfig-s022-20220124 (https://download.01.org/0day-ci/ar= chive/20220126/202201260035.X4xooLWv-lkp(a)intel.com/config) compiler: gcc-9 (Debian 9.3.0-22) 9.3.0 reproduce: # apt-get install sparse # sparse version: v0.6.4-dirty # https://github.com/0day-ci/linux/commit/732833fced3b60b4c89a1c128= c88ca2890aa6ec5 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Li-Zhijian/RDMA-rxe-Add-RDMA-FLUSH= -operation/20220125-165822 git checkout 732833fced3b60b4c89a1c128c88ca2890aa6ec5 # save the config file to linux build tree mkdir build_dir make W=3D1 C=3D1 CF=3D'-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=3D= build_dir ARCH=3Dx86_64 SHELL=3D/bin/bash drivers/infiniband/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot sparse warnings: (new ones prefixed by >>) drivers/infiniband/sw/rxe/rxe_req.c: note: in included file (through dri= vers/infiniband/sw/rxe/rxe.h): >> drivers/infiniband/sw/rxe/rxe_hdr.h:630:12: sparse: sparse: incorrect ty= pe in assignment (different base types) @@ expected unsigned int [usert= ype] @@ got restricted __be32 [usertype] @@ drivers/infiniband/sw/rxe/rxe_hdr.h:630:12: sparse: expected unsigne= d int [usertype] drivers/infiniband/sw/rxe/rxe_hdr.h:630:12: sparse: got restricted _= _be32 [usertype] vim +630 drivers/infiniband/sw/rxe/rxe_hdr.h 623 = 624 static inline void feth_init(struct rxe_pkt_info *pkt, u32 type, u32= level) 625 { 626 u32 *p =3D (u32 *)(pkt->hdr + rxe_opcode[pkt->opcode].offset[RXE_FE= TH]); 627 u32 feth =3D ((level << FETH_SEL_SHIFT) & FETH_SEL_MASK) | 628 ((type << FETH_PLT_SHIFT) & FETH_PLT_MASK); 629 = > 630 *p =3D cpu_to_be32(feth); 631 } 632 = --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org --===============6125287839821498644==--