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: mips-randconfig-r024-20221117 compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project bbe6bd724a6335e497c7edaed191d37a828d0390) 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 # install mips cross compiling tool for clang build # apt-get install binutils-mipsel-linux-gnu # 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=clang make.cross W=1 O=build_dir ARCH=mips SHELL=/bin/bash kernel/
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/bpf/syscall.c:20:
include/linux/license.h:5:10: error: 'string.h' file not found with <angled> include; use "quotes" instead
#include <string.h> ^~~~~~~~~~ "string.h" 1 error generated.
vim +5 include/linux/license.h
4
5 #include <string.h>
6