+ linux-wireless kernel test robot <lkp@xxxxxxxxx> writes: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master > head: bdc61aad77faf67187525028f1f355eff3849f22 > commit: 68d57a07bfe5bb29b80cd8b8fa24c9d1ea104124 [5852/7483] wireless: > add plfxlc driver for pureLiFi X, XL, XC devices > config: alpha-allmodconfig > (https://download.01.org/0day-ci/archive/20220429/202204290641.UGDfvg2b-lkp@xxxxxxxxx/config) > compiler: alpha-linux-gcc (GCC) 11.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.4-dirty > # > https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=68d57a07bfe5bb29b80cd8b8fa24c9d1ea104124 > git remote add linux-next > https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git > git fetch --no-tags linux-next master > git checkout 68d57a07bfe5bb29b80cd8b8fa24c9d1ea104124 > # save the config file > mkdir build_dir && cp config build_dir/.config > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 > make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir > ARCH=alpha SHELL=/bin/bash drivers/net/wireless/purelifi/plfxlc/ > > If you fix the issue, kindly add following tag as appropriate > Reported-by: kernel test robot <lkp@xxxxxxxxx> > > > sparse warnings: (new ones prefixed by >>) >>> drivers/net/wireless/purelifi/plfxlc/chip.c:33:14: sparse: sparse: >>> cast to restricted __le16 >>> drivers/net/wireless/purelifi/plfxlc/chip.c:36:31: sparse: sparse: >>> incorrect type in assignment (different base types) @@ expected >>> unsigned short [usertype] beacon_interval @@ got restricted __le16 >>> [usertype] @@ > drivers/net/wireless/purelifi/plfxlc/chip.c:36:31: sparse: expected unsigned short [usertype] beacon_interval > drivers/net/wireless/purelifi/plfxlc/chip.c:36:31: sparse: got restricted __le16 [usertype] > > vim +33 drivers/net/wireless/purelifi/plfxlc/chip.c > > 27 > 28 int plfxlc_set_beacon_interval(struct plfxlc_chip *chip, u16 interval, > 29 u8 dtim_period, int type) > 30 { > 31 if (!interval || > 32 (chip->beacon_set && > > 33 le16_to_cpu(chip->beacon_interval) == interval)) > 34 return 0; > 35 > > 36 chip->beacon_interval = cpu_to_le16(interval); > 37 chip->beacon_set = true; > 38 return plfxlc_usb_wreq(chip->usb.ez_usb, > 39 &chip->beacon_interval, > 40 sizeof(chip->beacon_interval), > 41 USB_REQ_BEACON_INTERVAL_WR); > 42 } > 43 Srinivasan, please submit a patch to fix this. -- https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches