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-RDMA-FLU...
base:
https://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma.git for-next
config: x86_64-randconfig-s022-20220124
(
https://download.01.org/0day-ci/archive/20220126/202201260035.X4xooLWv-lk...)
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/732833fced3b60b4c89a1c128c88ca289...
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=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir
ARCH=x86_64 SHELL=/bin/bash drivers/infiniband/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
sparse warnings: (new ones prefixed by >>)
drivers/infiniband/sw/rxe/rxe_req.c: note: in included file (through
drivers/infiniband/sw/rxe/rxe.h):
> drivers/infiniband/sw/rxe/rxe_hdr.h:630:12: sparse: sparse:
incorrect type in assignment (different base types) @@ expected unsigned int
[usertype] @@ got restricted __be32 [usertype] @@
drivers/infiniband/sw/rxe/rxe_hdr.h:630:12: sparse: expected unsigned 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 = (u32 *)(pkt->hdr + rxe_opcode[pkt->opcode].offset[RXE_FETH]);
627 u32 feth = ((level << FETH_SEL_SHIFT) & FETH_SEL_MASK) |
628 ((type << FETH_PLT_SHIFT) & FETH_PLT_MASK);
629
630 *p = cpu_to_be32(feth);
631 }
632
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org