reproduce: # apt-get install sparse # sparse version: v0.6.4-39-gce1a6720-dirty # https://github.com/hisilicon/linux-hisi/commit/886bdf9c883bcc9bfb0a0bc0ed27680e68c8b6c2 git remote add hisilicon-hisi https://github.com/hisilicon/linux-hisi git fetch --no-tags hisilicon-hisi next/drivers git checkout 886bdf9c883bcc9bfb0a0bc0ed27680e68c8b6c2 # save the config file mkdir build_dir && cp config build_dir/.config make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=x86_64 olddefconfig make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=x86_64 SHELL=/bin/bash drivers/net/ethernet/mellanox/mlx5/core/ drivers/soc/hisilicon/