lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZO8qkS0Skg9L4xzr@debian>
Date:   Wed, 30 Aug 2023 12:40:01 +0100
From:   "Sudip Mukherjee (Codethink)" <sudipm.mukherjee@...il.com>
To:     Guo Ren <guoren@...ux.alibaba.com>,
        Oleg Nesterov <oleg@...hat.com>, Guo Ren <guoren@...nel.org>
Cc:     linux-csky@...r.kernel.org, linux-kernel@...r.kernel.org,
        Linus Torvalds <torvalds@...ux-foundation.org>,
        regressions@...ts.linux.dev
Subject: mainline build failure due to c8171a86b274 ("csky: Fixup
 -Wmissing-prototypes warning")

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


-- 
Regards
Sudip

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ