Hi Sam,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on akpm-mm/mm-everything] [also build test ERROR on linus/master v6.1-rc5 next-20221116] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Sam-James/kbuild-Fix-Wimplici... base: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-everything patch link: https://lore.kernel.org/r/20221116182634.2823136-1-sam%40gentoo.org patch subject: [PATCH] kbuild: Fix -Wimplicit-function-declaration in license_is_gpl_compatible config: arc-defconfig compiler: arc-elf-gcc (GCC) 12.1.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://github.com/intel-lab-lkp/linux/commit/f9de22a17ac9a7c6290945983b3362... git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Sam-James/kbuild-Fix-Wimplicit-function-declaration-in-license_is_gpl_compatible/20221117-022718 git checkout f9de22a17ac9a7c6290945983b336296c3d4766b # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arc SHELL=/bin/bash
If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot lkp@intel.com
All errors (new ones prefixed by >>):
In file included from kernel/module/main.c:43:
include/linux/license.h:5:10: fatal error: string.h: No such file or directory
5 | #include <string.h> | ^~~~~~~~~~ compilation terminated.
vim +5 include/linux/license.h
4
5 #include <string.h>
6