reproduce (this is a W=1 build): # https://git.kernel.org/pub/scm/linux/kernel/git/thomas.weissschuh/linux.git/commit/?id=bf68ea73c14091cb782938f595dcb401b879e3c8 git remote add thomas-weissschuh https://git.kernel.org/pub/scm/linux/kernel/git/thomas.weissschuh/linux.git git fetch --no-tags thomas-weissschuh b4/b4-sysfs-const-bin_attr-cb git checkout bf68ea73c14091cb782938f595dcb401b879e3c8 # save the config file mkdir build_dir && cp config build_dir/.config make W=1 O=build_dir ARCH=x86_64 olddefconfig make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash drivers/mtd/spi-nor/