Re: [PATCH 2/2] trace,x86: Add nmi to the irq_vectors class

From: kbuild test robot
Date: Mon Sep 17 2018 - 06:19:23 EST


Hi Daniel,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on tip/x86/core]
[also build test ERROR on v4.19-rc4 next-20180913]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url: https://github.com/0day-ci/linux/commits/Daniel-Bristot-de-Oliveira/trace-x86-Add-external_interrupts-to-the-irq_vectors-class/20180917-173538
config: i386-randconfig-x003-201837 (attached as .config)
compiler: gcc-7 (Debian 7.3.0-1) 7.3.0
reproduce:
# save the attached .config to linux build tree
make ARCH=i386

All errors (new ones prefixed by >>):

arch/x86/kernel/nmi.c: In function 'do_nmi':
>> arch/x86/kernel/nmi.c:519:2: error: implicit declaration of function 'trace_nmi_entry'; did you mean 'ftrace_nmi_enter'? [-Werror=implicit-function-declaration]
trace_nmi_entry(2);
^~~~~~~~~~~~~~~
ftrace_nmi_enter
>> arch/x86/kernel/nmi.c:526:2: error: implicit declaration of function 'trace_nmi_exit'; did you mean 'ftrace_nmi_exit'? [-Werror=implicit-function-declaration]
trace_nmi_exit(2);
^~~~~~~~~~~~~~
ftrace_nmi_exit
cc1: some warnings being treated as errors

vim +519 arch/x86/kernel/nmi.c

517
518 nmi_enter();
> 519 trace_nmi_entry(2);
520
521 inc_irq_stat(__nmi_count);
522
523 if (!ignore_nmis)
524 default_do_nmi(regs);
525
> 526 trace_nmi_exit(2);
527 nmi_exit();
528

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation

Attachment: .config.gz
Description: application/gzip