reproduce (this is a W=1 build): # https://git.kernel.org/pub/scm/linux/kernel/git/thomas.weissschuh/linux.git/commit/?id=621fe990596bff092203435a832fd67c3aefb87a 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/sysfs-const-bin_attr-simple git checkout 621fe990596bff092203435a832fd67c3aefb87a # 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 kernel/module/