reproduce: git clone https://github.com/intel/lkp-tests.git ~/lkp-tests # apt-get install sparse # sparse version: v0.6.4-66-g0196afe1 # https://github.com/frank-w/BPI-R2-4.14/commit/26735c484d3c2541d97c5f65e0ec69cec1592f0b git remote add frank-w-bpi-r2-4.14 https://github.com/frank-w/BPI-R2-4.14 git fetch --no-tags frank-w-bpi-r2-4.14 6.16-r4pro git checkout 26735c484d3c2541d97c5f65e0ec69cec1592f0b # save the config file mkdir build_dir && cp config build_dir/.config ~/lkp-tests/kbuild/make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__ -fmax-errors=unlimited -fmax-warnings=unlimited' O=build_dir ARCH=hexagon olddefconfig ~/lkp-tests/kbuild/make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__ -fmax-errors=unlimited -fmax-warnings=unlimited' O=build_dir ARCH=hexagon SHELL=/bin/bash drivers/net/dsa/mxl862xx/