Re: [PATCH v4 4/7] arch, ftrace: For KASAN put hard/soft IRQ entries into separate sections

From: kbuild test robot
Date: Fri Feb 26 2016 - 20:45:30 EST


Hi Alexander,

[auto build test ERROR on tip/x86/core]
[also build test ERROR on v4.5-rc5]
[cannot apply to next-20160226]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]

url: https://github.com/0day-ci/linux/commits/Alexander-Potapenko/SLAB-support-for-KASAN/20160227-005318
config: arm-pxa_defconfig (attached as .config)
reproduce:
wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=arm

All errors (new ones prefixed by >>):

>> arch/arm/kernel/traps.c:476:39: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'handle_fiq_as_nmi'
asmlinkage void __exception_irq_entry handle_fiq_as_nmi(struct pt_regs *regs)
^

vim +476 arch/arm/kernel/traps.c

c0e7f7ee Daniel Thompson 2014-09-17 470 * circumstances where non-maskability improves robustness, such as
c0e7f7ee Daniel Thompson 2014-09-17 471 * watchdog or debug logic.
c0e7f7ee Daniel Thompson 2014-09-17 472 *
c0e7f7ee Daniel Thompson 2014-09-17 473 * This handler is not appropriate for general purpose use in drivers
c0e7f7ee Daniel Thompson 2014-09-17 474 * platform code and can be overrideen using set_fiq_handler.
c0e7f7ee Daniel Thompson 2014-09-17 475 */
c0e7f7ee Daniel Thompson 2014-09-17 @476 asmlinkage void __exception_irq_entry handle_fiq_as_nmi(struct pt_regs *regs)
c0e7f7ee Daniel Thompson 2014-09-17 477 {
c0e7f7ee Daniel Thompson 2014-09-17 478 struct pt_regs *old_regs = set_irq_regs(regs);
c0e7f7ee Daniel Thompson 2014-09-17 479

:::::: The code at line 476 was first introduced by commit
:::::: c0e7f7ee717e2b4c5791e7422424c96b5008c39e ARM: 8150/3: fiq: Replace default FIQ handler

:::::: TO: Daniel Thompson <daniel.thompson@xxxxxxxxxx>
:::::: CC: Russell King <rmk+kernel@xxxxxxxxxxxxxxxx>

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

Attachment: .config.gz
Description: Binary data