reproduce (this is a W=1 build): # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=f37b334728814b14745e15d46f9eab73750b67ec git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git git fetch --no-tags linus master git checkout f37b334728814b14745e15d46f9eab73750b67ec # apt-get install sparse # sparse version: v0.6.4-73-gfbdde312 # 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 arch/x86/hyperv/ arch/x86/kernel/apic/ arch/x86/kernel/cpu/mce/ drivers/block/zram/ drivers/bus/mhi/host/ drivers/clk/ drivers/clocksource/ drivers/connector/ drivers/cpuidle/governors/ drivers/cxl/core/ drivers/gpu/drm/ drivers/hv/ drivers/iio/imu/bno055/./ drivers/infiniband/core/ drivers/infiniband/ulp/rtrs/ drivers/misc/lkdtm/ drivers/misc/mei/ drivers/net/dsa/mv88e6xxx/ drivers/net/vmxnet3/ drivers/platform/surface/aggregator/ drivers/thermal/intel/ drivers/thunderbolt/ drivers/virt/coco/guest/ fs/afs/ fs/cachefiles/ fs/dlm/ fs/gfs2/ fs/jbd2/ fs/netfs/ fs/nfs/ fs/nfsd/ fs/ocfs2/ fs/overlayfs/ fs/squashfs/ fs/xfs/ kernel/bpf/ kernel/sched/ kernel/trace/ mm/ net/8021q/ net/caif/ net/core/ net/devlink/ net/dsa/ net/ipv6/ net/openvswitch/ net/rds/ net/rxrpc/ net/sunrpc/xprtrdma/ net/tipc/ net/tls/ net/wireless/ net/xfrm/ sound/core/ sound/hda/common/ sound/hda/core/ sound/soc/