oe-kbuild-all.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
* [csky-linux:linux-next 5/5] arch/csky/include/asm/traps.h:43:11: error: expected ';' before 'void'
@ 2023-08-11 21:35 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-08-11 21:35 UTC (permalink / raw)
  To: Guo Ren; +Cc: oe-kbuild-all

tree:   https://github.com/c-sky/csky-linux linux-next
head:   c8171a86b27401aa1f492dd1f080f3102264f1ab
commit: c8171a86b27401aa1f492dd1f080f3102264f1ab [5/5] csky: Fixup -Wmissing-prototypes warning
config: csky-defconfig (https://download.01.org/0day-ci/archive/20230812/202308120502.MXpchFC1-lkp@intel.com/config)
compiler: csky-linux-gcc (GCC) 12.3.0
reproduce: (https://download.01.org/0day-ci/archive/20230812/202308120502.MXpchFC1-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202308120502.MXpchFC1-lkp@intel.com/

All errors (new ones prefixed by >>):

   In file included from arch/csky/include/asm/ptrace.h:7,
                    from arch/csky/include/asm/elf.h:6,
                    from include/linux/elf.h:6,
                    from kernel/extable.c:6:
>> arch/csky/include/asm/traps.h:43:11: error: expected ';' before 'void'
      43 | asmlinkage void do_trap_unknown(struct pt_regs *regs);
         |           ^~~~~
         |           ;
   arch/csky/include/asm/traps.h:44:11: error: expected ';' before 'void'
      44 | asmlinkage void do_trap_zdiv(struct pt_regs *regs);
         |           ^~~~~
         |           ;
   arch/csky/include/asm/traps.h:45:11: error: expected ';' before 'void'
      45 | asmlinkage void do_trap_buserr(struct pt_regs *regs);
         |           ^~~~~
         |           ;
   arch/csky/include/asm/traps.h:46:11: error: expected ';' before 'void'
      46 | asmlinkage void do_trap_misaligned(struct pt_regs *regs);
         |           ^~~~~
         |           ;
   arch/csky/include/asm/traps.h:47:11: error: expected ';' before 'void'
      47 | asmlinkage void do_trap_bkpt(struct pt_regs *regs);
         |           ^~~~~
         |           ;
   arch/csky/include/asm/traps.h:48:11: error: expected ';' before 'void'
      48 | asmlinkage void do_trap_illinsn(struct pt_regs *regs);
         |           ^~~~~
         |           ;
   arch/csky/include/asm/traps.h:49:11: error: expected ';' before 'void'
      49 | asmlinkage void do_trap_fpe(struct pt_regs *regs);
         |           ^~~~~
         |           ;
   arch/csky/include/asm/traps.h:50:11: error: expected ';' before 'void'
      50 | asmlinkage void do_trap_priv(struct pt_regs *regs);
         |           ^~~~~
         |           ;
   arch/csky/include/asm/traps.h:51:11: error: expected ';' before 'void'
      51 | asmlinkage void trap_c(struct pt_regs *regs);
         |           ^~~~~
         |           ;
   arch/csky/include/asm/traps.h:53:11: error: expected ';' before 'void'
      53 | asmlinkage void do_notify_resume(struct pt_regs *regs,
         |           ^~~~~
         |           ;
>> arch/csky/include/asm/ptrace.h:99:11: error: expected ';' before 'int'
      99 | asmlinkage int syscall_trace_enter(struct pt_regs *regs);
         |           ^~~~
         |           ;
>> arch/csky/include/asm/ptrace.h:100:11: error: expected ';' before 'void'
     100 | asmlinkage void syscall_trace_exit(struct pt_regs *regs);
         |           ^~~~~
         |           ;


vim +43 arch/csky/include/asm/traps.h

    42	
  > 43	asmlinkage void do_trap_unknown(struct pt_regs *regs);
    44	asmlinkage void do_trap_zdiv(struct pt_regs *regs);
    45	asmlinkage void do_trap_buserr(struct pt_regs *regs);
    46	asmlinkage void do_trap_misaligned(struct pt_regs *regs);
    47	asmlinkage void do_trap_bkpt(struct pt_regs *regs);
    48	asmlinkage void do_trap_illinsn(struct pt_regs *regs);
    49	asmlinkage void do_trap_fpe(struct pt_regs *regs);
    50	asmlinkage void do_trap_priv(struct pt_regs *regs);
    51	asmlinkage void trap_c(struct pt_regs *regs);
    52	

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-08-11 21:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-11 21:35 [csky-linux:linux-next 5/5] arch/csky/include/asm/traps.h:43:11: error: expected ';' before 'void' kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).