tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: 5be860bfc73408bc1a8af9167955e480ecebba84 commit: 66603243f5283f7f28c795f09e7c2167233df0bd [3478/12617] Input: add driver for Hynitron cstxxx touchscreens config: csky-randconfig-s053-20221204 compiler: csky-linux-gcc (GCC) 12.1.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-39-gce1a6720-dirty # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=66603243f5283f7f28c795f09e7c2167233df0bd 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 66603243f5283f7f28c795f09e7c2167233df0bd # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=csky SHELL=/bin/bash drivers/input/touchscreen/ kernel/trace/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot sparse warnings: (new ones prefixed by >>) drivers/input/touchscreen/hynitron_cstxxx.c: note: in included file (through arch/csky/include/generated/asm/unaligned.h): >> include/asm-generic/unaligned.h:119:16: sparse: sparse: cast truncates bits from constant value (aa01a0 becomes a0) >> include/asm-generic/unaligned.h:120:20: sparse: sparse: cast truncates bits from constant value (aa01 becomes 1) >> include/asm-generic/unaligned.h:119:16: sparse: sparse: cast truncates bits from constant value (ab00d0 becomes d0) >> include/asm-generic/unaligned.h:120:20: sparse: sparse: cast truncates bits from constant value (ab00 becomes 0) vim +119 include/asm-generic/unaligned.h 803f4e1eab7a89 Arnd Bergmann 2021-05-08 116 803f4e1eab7a89 Arnd Bergmann 2021-05-08 117 static inline void __put_unaligned_le24(const u32 val, u8 *p) 803f4e1eab7a89 Arnd Bergmann 2021-05-08 118 { 803f4e1eab7a89 Arnd Bergmann 2021-05-08 @119 *p++ = val; 803f4e1eab7a89 Arnd Bergmann 2021-05-08 @120 *p++ = val >> 8; 803f4e1eab7a89 Arnd Bergmann 2021-05-08 121 *p++ = val >> 16; 803f4e1eab7a89 Arnd Bergmann 2021-05-08 122 } 803f4e1eab7a89 Arnd Bergmann 2021-05-08 123 :::::: The code at line 119 was first introduced by commit :::::: 803f4e1eab7a8938ba3a3c30dd4eb5e9eeef5e63 asm-generic: simplify asm/unaligned.h :::::: TO: Arnd Bergmann :::::: CC: Arnd Bergmann -- 0-DAY CI Kernel Test Service https://01.org/lkp