On Mon, Dec 14, 2020 at 3:28 PM kernel test robot wrote: > > tree: https://github.com/ceph/ceph-client.git pr/22 > head: 524d1e6601a7d1214c502d5739f5a34f09a0960c > commit: 48b7789934f0e94b975e98b74eaf18301fc0cfcd [32/34] libceph: implement msgr2.1 protocol (crc and secure modes) > config: alpha-randconfig-s032-20201214 (attached as .config) > compiler: alpha-linux-gcc (GCC) 9.3.0 > reproduce: > wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross > chmod +x ~/bin/make.cross > # apt-get install sparse > # sparse version: v0.6.3-184-g1b896707-dirty > # https://github.com/ceph/ceph-client/commit/48b7789934f0e94b975e98b74eaf18301fc0cfcd > git remote add ceph-client https://github.com/ceph/ceph-client.git > git fetch --no-tags ceph-client pr/22 > git checkout 48b7789934f0e94b975e98b74eaf18301fc0cfcd > # save the attached .config to linux build tree > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=alpha > > If you fix the issue, kindly add following tag as appropriate > Reported-by: kernel test robot > > > "sparse warnings: (new ones prefixed by >>)" > >> net/ceph/messenger_v2.c:601:24: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __le32 [usertype] front_len @@ got int front_len @@ > net/ceph/messenger_v2.c:601:24: sparse: expected restricted __le32 [usertype] front_len > net/ceph/messenger_v2.c:601:24: sparse: got int front_len > >> net/ceph/messenger_v2.c:602:25: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __le32 [usertype] middle_len @@ got int middle_len @@ > net/ceph/messenger_v2.c:602:25: sparse: expected restricted __le32 [usertype] middle_len > net/ceph/messenger_v2.c:602:25: sparse: got int middle_len > >> net/ceph/messenger_v2.c:603:23: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __le32 [usertype] data_len @@ got int data_len @@ > net/ceph/messenger_v2.c:603:23: sparse: expected restricted __le32 [usertype] data_len > net/ceph/messenger_v2.c:603:23: sparse: got int data_len > > vim +601 net/ceph/messenger_v2.c > > 590 > 591 static void fill_header(struct ceph_msg_header *hdr, > 592 const struct ceph_msg_header2 *hdr2, > 593 int front_len, int middle_len, int data_len, > 594 const struct ceph_entity_name *peer_name) > 595 { > 596 hdr->seq = hdr2->seq; > 597 hdr->tid = hdr2->tid; > 598 hdr->type = hdr2->type; > 599 hdr->priority = hdr2->priority; > 600 hdr->version = hdr2->version; > > 601 hdr->front_len = front_len; > > 602 hdr->middle_len = middle_len; > > 603 hdr->data_len = data_len; > 604 hdr->data_off = hdr2->data_off; > 605 hdr->src = *peer_name; > 606 hdr->compat_version = hdr2->compat_version; > 607 hdr->reserved = 0; > 608 hdr->crc = 0; > 609 } > 610 > > --- > 0-DAY CI Kernel Test Service, Intel Corporation > https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org Fixed. Thanks, Ilya