tree:   
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git 
linux-4.9.y
head:   d7f83e4f45e886d919bc985bd225b8355ddd9284
commit: bd67557464c2cf89e239da1f11c5d8905ee18f01 [8774/9999] ARC: handle gcc 
generated __builtin_trap for older compiler
config: arc-defconfig (attached as .config)
compiler: arc-elf-gcc (GCC) 7.5.0
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
        # 
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git/commit/?id=bd67557464c2cf89e239da1f11c5d8905ee18f01
        git remote add linux-stable-rc 
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
        git fetch --no-tags linux-stable-rc linux-4.9.y
        git checkout bd67557464c2cf89e239da1f11c5d8905ee18f01
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-7.5.0 make.cross ARCH=arc 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <l...@intel.com>

All warnings (new ones prefixed by >>):

   arch/arc/kernel/traps.c:80:48: warning: no previous declaration for 
'do_privilege_fault' [-Wmissing-declarations]
    DO_ERROR_INFO(SIGILL, "Priv Op/Disabled Extn", do_privilege_fault, 
ILL_PRVOPC)
                                                   ^
   arch/arc/kernel/traps.c:66:5: note: in definition of macro 'DO_ERROR_INFO'
    int name(unsigned long address, struct pt_regs *regs) \
        ^~~~
   arch/arc/kernel/traps.c:81:44: warning: no previous declaration for 
'do_extension_fault' [-Wmissing-declarations]
    DO_ERROR_INFO(SIGILL, "Invalid Extn Insn", do_extension_fault, ILL_ILLOPC)
                                               ^
   arch/arc/kernel/traps.c:66:5: note: in definition of macro 'DO_ERROR_INFO'
    int name(unsigned long address, struct pt_regs *regs) \
        ^~~~
   arch/arc/kernel/traps.c:82:48: warning: no previous declaration for 
'insterror_is_error' [-Wmissing-declarations]
    DO_ERROR_INFO(SIGILL, "Illegal Insn (or Seq)", insterror_is_error, 
ILL_ILLOPC)
                                                   ^
   arch/arc/kernel/traps.c:66:5: note: in definition of macro 'DO_ERROR_INFO'
    int name(unsigned long address, struct pt_regs *regs) \
        ^~~~
   arch/arc/kernel/traps.c:83:45: warning: no previous declaration for 
'do_memory_error' [-Wmissing-declarations]
    DO_ERROR_INFO(SIGBUS, "Invalid Mem Access", do_memory_error, BUS_ADRERR)
                                                ^
   arch/arc/kernel/traps.c:66:5: note: in definition of macro 'DO_ERROR_INFO'
    int name(unsigned long address, struct pt_regs *regs) \
        ^~~~
   arch/arc/kernel/traps.c:84:42: warning: no previous declaration for 
'trap_is_brkpt' [-Wmissing-declarations]
    DO_ERROR_INFO(SIGTRAP, "Breakpoint Set", trap_is_brkpt, TRAP_BRKPT)
                                             ^
   arch/arc/kernel/traps.c:66:5: note: in definition of macro 'DO_ERROR_INFO'
    int name(unsigned long address, struct pt_regs *regs) \
        ^~~~
   arch/arc/kernel/traps.c:85:44: warning: no previous declaration for 
'do_misaligned_error' [-Wmissing-declarations]
    DO_ERROR_INFO(SIGBUS, "Misaligned Access", do_misaligned_error, BUS_ADRALN)
                                               ^
   arch/arc/kernel/traps.c:66:5: note: in definition of macro 'DO_ERROR_INFO'
    int name(unsigned long address, struct pt_regs *regs) \
        ^~~~
   arch/arc/kernel/traps.c:90:5: warning: no previous declaration for 
'do_misaligned_access' [-Wmissing-declarations]
    int do_misaligned_access(unsigned long address, struct pt_regs *regs,
        ^~~~~~~~~~~~~~~~~~~~
   arch/arc/kernel/traps.c:104:6: warning: no previous declaration for 
'do_machine_check_fault' [-Wmissing-declarations]
    void do_machine_check_fault(unsigned long address, struct pt_regs *regs)
         ^~~~~~~~~~~~~~~~~~~~~~
   arch/arc/kernel/traps.c:119:6: warning: no previous declaration for 
'do_non_swi_trap' [-Wmissing-declarations]
    void do_non_swi_trap(unsigned long address, struct pt_regs *regs)
         ^~~~~~~~~~~~~~~
   arch/arc/kernel/traps.c:147:6: warning: no previous declaration for 
'do_insterror_or_kprobe' [-Wmissing-declarations]
    void do_insterror_or_kprobe(unsigned long address, struct pt_regs *regs)
         ^~~~~~~~~~~~~~~~~~~~~~
>> arch/arc/kernel/traps.c:162:6: warning: no previous declaration for 'abort' 
>> [-Wmissing-declarations]
    void abort(void)
         ^~~~~


vim +/abort +162 arch/arc/kernel/traps.c

   158  
   159  /*
   160   * abort() call generated by older gcc for __builtin_trap()
   161   */
 > 162  void abort(void)

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-...@lists.01.org

Attachment: .config.gz
Description: application/gzip

_______________________________________________
linux-snps-arc mailing list
linux-snps-arc@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-snps-arc

Reply via email to