CC: [email protected] BCC: [email protected] CC: [email protected] TO: Luc Van Oostenryck <[email protected]> CC: Andrew Morton <[email protected]> CC: Linux Memory Management List <[email protected]>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: ce522ba9ef7e2d9fb22a39eb3371c0c64e2a433e commit: d991bb1c8da842a2a0b9dc83b1005e655783f861 include/linux/compiler-gcc.h: sparse can do constant folding of __builtin_bswap*() date: 12 months ago :::::: branch date: 8 hours ago :::::: commit date: 12 months ago config: x86_64-randconfig-m001-20220411 (https://download.01.org/0day-ci/archive/20220411/[email protected]/config) compiler: gcc-11 (Debian 11.2.0-19) 11.2.0 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <[email protected]> Reported-by: Dan Carpenter <[email protected]> smatch warnings: drivers/infiniband/sw/siw/iwarp.h:114 __ddp_get_version() warn: mask and shift to zero vim +114 drivers/infiniband/sw/siw/iwarp.h 0e935ae6afcdbe Bernard Metzler 2019-06-20 111 0e935ae6afcdbe Bernard Metzler 2019-06-20 112 static inline u8 __ddp_get_version(struct iwarp_ctrl *ctrl) 0e935ae6afcdbe Bernard Metzler 2019-06-20 113 { 0e935ae6afcdbe Bernard Metzler 2019-06-20 @114 return be16_to_cpu(ctrl->ddp_rdmap_ctrl & DDP_MASK_VERSION) >> 8; 0e935ae6afcdbe Bernard Metzler 2019-06-20 115 } 0e935ae6afcdbe Bernard Metzler 2019-06-20 116 :::::: The code at line 114 was first introduced by commit :::::: 0e935ae6afcdbe6f0c0aa457ae57feccc63bb9be rdma/siw: iWarp wire packet format :::::: TO: Bernard Metzler <[email protected]> :::::: CC: Jason Gunthorpe <[email protected]> -- 0-DAY CI Kernel Test Service https://01.org/lkp _______________________________________________ kbuild mailing list -- [email protected] To unsubscribe send an email to [email protected]
