Skip to contentSkip to conversation

mainline build failure due to c8171a86b274 ("csky: Fixup -Wmissing-prototypes warning")

DISCUSSION Sudip Mukherjee (Codethink) 3 participants 4 messages Aug 30, 2023 – Aug 31, 2023

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hi All,

The latest mainline kernel branch fails to build csky allmodconfig with the error:

In file included from ./arch/csky/include/asm/ptrace.h:7,

                 from ./arch/csky/include/asm/processor.h:8,
                 from ./include/linux/prefetch.h:15,
                 from drivers/net/ethernet/intel/i40e/i40e_txrx.c:4:
./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,
      |           ^~~~~
      |           ;
In file included from ./arch/csky/include/asm/processor.h:8,
                 from ./include/linux/prefetch.h:15,
                 from drivers/net/ethernet/intel/i40e/i40e_txrx.c:4:
./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);
      |           ^~~~~
      |           ;

git bisect pointed to c8171a86b274 ("csky: Fixup -Wmissing-prototypes warning").

Reverting the commit has fixed the build failure.

I will be happy to test any patch or provide any extra log if needed.

#regzbot introduced: c8171a86b27401aa1f492dd1f080f3102264f1ab

Signature · 2 lines
Regards
Sudip
#1 lore raw
Quoted 3 lines · Sudip Mukherjee (Codethink)

The latest mainline kernel branch fails to build csky allmodconfig with the error:

Thx for the report and involving regzbot. To make one thing more obvious:

Guo Ren, it seems to be caused by a commit of yours.

And fun fact: seem 0day bot found the same problem nearly thee weeks ago, but nobody cared afaics:
https://lore.kernel.org/all/[email protected]/

Ciao, Thorsten

Quoted 56 lines

In file included from ./arch/csky/include/asm/ptrace.h:7,

                 from ./arch/csky/include/asm/processor.h:8,
                 from ./include/linux/prefetch.h:15,
                 from drivers/net/ethernet/intel/i40e/i40e_txrx.c:4:
./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,
      |           ^~~~~
      |           ;
In file included from ./arch/csky/include/asm/processor.h:8,
                 from ./include/linux/prefetch.h:15,
                 from drivers/net/ethernet/intel/i40e/i40e_txrx.c:4:
./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);
      |           ^~~~~
      |           ;
Quoted 7 lines

git bisect pointed to c8171a86b274 ("csky: Fixup -Wmissing-prototypes warning").

Reverting the commit has fixed the build failure.

I will be happy to test any patch or provide any extra log if needed.

#regzbot introduced: c8171a86b27401aa1f492dd1f080f3102264f1ab

#regzbot monitor:
https://lore.kernel.org/all/[email protected]/

maintainer
#2 lore raw
Quoted 74 lines · Linux regression tracking (Thorsten Leemhuis)
Quoted 3 lines · Sudip Mukherjee (Codethink)

The latest mainline kernel branch fails to build csky allmodconfig with the error:

Thx for the report and involving regzbot. To make one thing more obvious:

Guo Ren, it seems to be caused by a commit of yours.

And fun fact: seem 0day bot found the same problem nearly thee weeks ago, but nobody cared afaics:
https://lore.kernel.org/all/[email protected]/

Ciao, Thorsten

Quoted 58 lines

In file included from ./arch/csky/include/asm/ptrace.h:7,

                 from ./arch/csky/include/asm/processor.h:8,
                 from ./include/linux/prefetch.h:15,
                 from drivers/net/ethernet/intel/i40e/i40e_txrx.c:4:
./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,
      |           ^~~~~
      |           ;
In file included from ./arch/csky/include/asm/processor.h:8,
                 from ./include/linux/prefetch.h:15,
                 from drivers/net/ethernet/intel/i40e/i40e_txrx.c:4:
./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);
      |           ^~~~~
      |           ;

git bisect pointed to c8171a86b274 ("csky: Fixup -Wmissing-prototypes warning").

Quoted 8 lines
Quoted 5 lines

Reverting the commit has fixed the build failure.

I will be happy to test any patch or provide any extra log if needed.

#regzbot introduced: c8171a86b27401aa1f492dd1f080f3102264f1ab

#regzbot monitor:
https://lore.kernel.org/all/[email protected]/

Sorry, Fixes have been sent, I'm waiting for it into the linux-next, and then I will send 2nd pull request.

https://lore.kernel.org/linux-csky/[email protected]/

Signature · 2 lines
Best Regards
 Guo Ren
#3 lore raw
Quoted 34 lines · Guo Ren
Quoted 32 lines · Linux regression tracking (Thorsten Leemhuis)
Quoted 3 lines · Sudip Mukherjee (Codethink)

The latest mainline kernel branch fails to build csky allmodconfig with the error:

Thx for the report and involving regzbot. To make one thing more obvious:

Guo Ren, it seems to be caused by a commit of yours.

And fun fact: seem 0day bot found the same problem nearly thee weeks ago, but nobody cared afaics:
https://lore.kernel.org/all/[email protected]/

Quoted 17 lines

In file included from ./arch/csky/include/asm/ptrace.h:7,

                 from ./arch/csky/include/asm/processor.h:8,
                 from ./include/linux/prefetch.h:15,
                 from drivers/net/ethernet/intel/i40e/i40e_txrx.c:4:
./arch/csky/include/asm/traps.h:43:11: error: expected ';' before 'void'
   43 | asmlinkage void do_trap_unknown(struct pt_regs *regs);
      |           ^~~~~
      |           ;

[...]

git bisect pointed to c8171a86b274 ("csky: Fixup -Wmissing-prototypes warning").

Reverting the commit has fixed the build failure.

I will be happy to test any patch or provide any extra log if needed.

#regzbot introduced: c8171a86b27401aa1f492dd1f080f3102264f1ab

Quoted 7 lines
Quoted 2 lines

#regzbot monitor:
https://lore.kernel.org/all/[email protected]/

Sorry, Fixes have been sent, I'm waiting for it into the linux-next, and then I will send 2nd pull request.

https://lore.kernel.org/linux-csky/[email protected]/

Ohh, it seems Guenter ran into this as well... Whatever, things happen.

Thx for taking care of this.

#regzbot monitor:
https://lore.kernel.org/all/[email protected]/
#regzbot monitor:
https://lore.kernel.org/all/[email protected]/
#regzbot fix: csky: Fixup compile error

Ciao, Thorsten (wearing his 'the Linux kernel's regression tracker' hat) --
Everything you wanna know about Linux kernel regression tracking:
https://linux-regtracking.leemhuis.info/about/#tldr
That page also explains what to do if mails like this annoy you.

#regzbot ignore-activity