tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: 1e25dd7772483f477f79986d956028e9f47f990a commit: 910e230d5f1bb72c54532e94fbb1705095c7bab6 [3803/4327] samples/hw_breakpoint: Fix kernel BUG 'invalid opcode: 0000' config: i386-buildonly-randconfig-r004-20230725 (https://download.01.org/0day-ci/archive/20230725/202307251703.AgPdzkAe-lkp@xxxxxxxxx/config) compiler: clang version 15.0.7 (https://github.com/llvm/llvm-project.git 8dfdcc7b7bf66834a761bd8de445840ef68e4d1a) reproduce: (https://download.01.org/0day-ci/archive/20230725/202307251703.AgPdzkAe-lkp@xxxxxxxxx/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot <lkp@xxxxxxxxx> | Closes: https://lore.kernel.org/oe-kbuild-all/202307251703.AgPdzkAe-lkp@xxxxxxxxx/ All errors (new ones prefixed by >>): >> samples/hw_breakpoint/data_breakpoint.c:73:2: error: call to undeclared function '__symbol_put'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] __symbol_put(ksym_name); ^ samples/hw_breakpoint/data_breakpoint.c:73:2: note: did you mean '__symbol_get'? include/linux/module.h:301:7: note: '__symbol_get' declared here void *__symbol_get(const char *symbol); ^ 1 error generated. vim +/__symbol_put +73 samples/hw_breakpoint/data_breakpoint.c 69 70 static void __exit hw_break_module_exit(void) 71 { 72 unregister_wide_hw_breakpoint(sample_hbp); > 73 __symbol_put(ksym_name); 74 printk(KERN_INFO "HW Breakpoint for %s write uninstalled\n", ksym_name); 75 } 76 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki