[linux-next:master 6282/9010] arch/m68k/include/asm/irq.h:78:11: error: expected ';' before 'void'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   6a53bda3aaf3de5edeea27d0b1d8781d067640b6
commit: 1ff4f42aef609757c334947f60612b4691b95c8a [6282/9010] net: sunhme: Alphabetize includes
config: m68k-randconfig-s041-20230403 (https://download.01.org/0day-ci/archive/20230404/202304041748.0sQc4K4l-lkp@xxxxxxxxx/config)
compiler: m68k-linux-gcc (GCC) 12.1.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # apt-get install sparse
        # sparse version: v0.6.4-39-gce1a6720-dirty
        # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=1ff4f42aef609757c334947f60612b4691b95c8a
        git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
        git fetch --no-tags linux-next master
        git checkout 1ff4f42aef609757c334947f60612b4691b95c8a
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=m68k olddefconfig
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=m68k SHELL=/bin/bash drivers/net/ethernet/sun/

If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Link: https://lore.kernel.org/oe-kbuild-all/202304041748.0sQc4K4l-lkp@xxxxxxxxx/

All error/warnings (new ones prefixed by >>):

   In file included from drivers/net/ethernet/sun/sunhme.c:19:
>> arch/m68k/include/asm/irq.h:78:11: error: expected ';' before 'void'
      78 | asmlinkage void do_IRQ(int irq, struct pt_regs *regs);
         |           ^~~~~
         |           ;
>> arch/m68k/include/asm/irq.h:78:40: warning: 'struct pt_regs' declared inside parameter list will not be visible outside of this definition or declaration
      78 | asmlinkage void do_IRQ(int irq, struct pt_regs *regs);
         |                                        ^~~~~~~


vim +78 arch/m68k/include/asm/irq.h

3ddc7e261a990d0 Greg Ungerer       2009-06-26  77  
739735d5fea3c39 Geert Uytterhoeven 2011-07-03 @78  asmlinkage void do_IRQ(int irq, struct pt_regs *regs);
4936f63cb790e26 Geert Uytterhoeven 2011-04-21  79  extern atomic_t irq_err_count;
739735d5fea3c39 Geert Uytterhoeven 2011-07-03  80  

:::::: The code at line 78 was first introduced by commit
:::::: 739735d5fea3c3997b2a659068a618b07bc9a73a m68knommu: Move forward declaration of do_IRQ() from machdep.h to irq.h

:::::: TO: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>
:::::: CC: Greg Ungerer <gerg@xxxxxxxxxxx>

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux