tree: https://git.kernel.org/pub/scm/linux/kernel/git/josef/btrfs-next.git bpf-override-return head: 9d789a052c0b5d31c2c3c0614b1450051508836c commit: effbb385b04345a1bf39542cebf435bc770c1776 [1/4] add infrastructure for tagging functions as error injectable config: sparc64-allyesconfig (attached as .config) compiler: sparc64-linux-gnu-gcc (Debian 7.2.0-11) 7.2.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross git checkout effbb385b04345a1bf39542cebf435bc770c1776 # save the attached .config to linux build tree make.cross ARCH=sparc64 All errors (new ones prefixed by >>): kernel/kprobes.c: In function 'init_kprobes': >> kernel/kprobes.c:2345:2: error: implicit declaration of function 'populate_kernel_kprobe_ei_list'; did you mean 'module_unload_kprobe_ei_list'? [-Werror=implicit-function-declaration] populate_kernel_kprobe_ei_list(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ module_unload_kprobe_ei_list cc1: some warnings being treated as errors vim +2345 kernel/kprobes.c 2325 2326 static int __init init_kprobes(void) 2327 { 2328 int i, err = 0; 2329 2330 /* FIXME allocate the probe table, currently defined statically */ 2331 /* initialize all list heads */ 2332 for (i = 0; i < KPROBE_TABLE_SIZE; i++) { 2333 INIT_HLIST_HEAD(&kprobe_table[i]); 2334 INIT_HLIST_HEAD(&kretprobe_inst_table[i]); 2335 raw_spin_lock_init(&(kretprobe_table_locks[i].lock)); 2336 } 2337 2338 err = populate_kprobe_blacklist(__start_kprobe_blacklist, 2339 __stop_kprobe_blacklist); 2340 if (err) { 2341 pr_err("kprobes: failed to populate blacklist: %d\n", err); 2342 pr_err("Please take care of using kprobes.\n"); 2343 } 2344 > 2345 populate_kernel_kprobe_ei_list(); 2346 2347 if (kretprobe_blacklist_size) { 2348 /* lookup the function address from its name */ 2349 for (i = 0; kretprobe_blacklist[i].name != NULL; i++) { 2350 kretprobe_blacklist[i].addr = 2351 kprobe_lookup_name(kretprobe_blacklist[i].name, 0); 2352 if (!kretprobe_blacklist[i].addr) 2353 printk("kretprobe: lookup failed: %s\n", 2354 kretprobe_blacklist[i].name); 2355 } 2356 } 2357 --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip
