reproduce: # apt-get install sparse # sparse version: v0.6.4-66-g0196afe1 # https://github.com/intel-lab-lkp/linux/commit/f5c2384ff8d0dc0db1926f134eded5bd81e63bc0 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Charles-Wang/HID-hid-goodix-Add-Goodix-HID-over-SPI-driver/20240614-201949 git checkout f5c2384ff8d0dc0db1926f134eded5bd81e63bc0 # save the config file mkdir build_dir && cp config build_dir/.config make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__ -fmax-errors=unlimited -fmax-warnings=unlimited' O=build_dir ARCH=i386 olddefconfig make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__ -fmax-errors=unlimited -fmax-warnings=unlimited' O=build_dir ARCH=i386 SHELL=/bin/bash drivers/hid/