[PATCH 16/17] [RFC] arch: turn -Wmissing-prototypes off conditionally

2023-08-10 Thread Arnd Bergmann
From: Arnd Bergmann I have cleaned up the -Wmissing-prototypes warnings for most of the major architectures as well as all drivers that get enabled for CONFIG_COMPILE_TEST, so now these should be close to fixed on x86, arm, arm64, powerpc, s390, and riscv. The other architectures tend to have

Re: [PATCH 16/17] [RFC] arch: turn -Wmissing-prototypes off conditionally

2023-08-10 Thread Christophe Leroy
Le 10/08/2023 à 16:19, Arnd Bergmann a écrit : > From: Arnd Bergmann > > I have cleaned up the -Wmissing-prototypes warnings for most of the major > architectures > as well as all drivers that get enabled for CONFIG_COMPILE_TEST, so now these > should be > close to fixed on x86, arm, arm64, p

Re: [PATCH 16/17] [RFC] arch: turn -Wmissing-prototypes off conditionally

2023-08-10 Thread Arnd Bergmann
On Thu, Aug 10, 2023, at 16:59, Christophe Leroy wrote: > Le 10/08/2023 à 16:19, Arnd Bergmann a écrit : >> From: Arnd Bergmann >> >> I have cleaned up the -Wmissing-prototypes warnings for most of the major >> architectures >> as well as all drivers that get enabled for CONFIG_COMPILE_TEST, so

Re: [PATCH 16/17] [RFC] arch: turn -Wmissing-prototypes off conditionally

2023-08-10 Thread Helge Deller
On 8/10/23 17:21, Arnd Bergmann wrote: On Thu, Aug 10, 2023, at 16:59, Christophe Leroy wrote: Le 10/08/2023 à 16:19, Arnd Bergmann a écrit : From: Arnd Bergmann I have cleaned up the -Wmissing-prototypes warnings for most of the major architectures as well as all drivers that get enabled fo

Re: [PATCH 16/17] [RFC] arch: turn -Wmissing-prototypes off conditionally

2023-08-10 Thread Arnd Bergmann
On Thu, Aug 10, 2023, at 17:59, Helge Deller wrote: > On 8/10/23 17:21, Arnd Bergmann wrote: >> On Thu, Aug 10, 2023, at 16:59, Christophe Leroy wrote: >> >> I did send other fixes for microblaze and parisc specific drivers, >> and I could also send patches for the two defconfig warnings if >> the

Re: [PATCH 16/17] [RFC] arch: turn -Wmissing-prototypes off conditionally

2023-08-10 Thread Guo Ren
Thx, Arnd, I will clean them up for the csky part. On Thu, Aug 10, 2023 at 10:24 PM Arnd Bergmann wrote: > > From: Arnd Bergmann > > I have cleaned up the -Wmissing-prototypes warnings for most of the major > architectures > as well as all drivers that get enabled for CONFIG_COMPILE_TEST, so no

Re: [PATCH 16/17] [RFC] arch: turn -Wmissing-prototypes off conditionally

2023-08-11 Thread Vineet Gupta
On 8/10/23 19:33, Guo Ren wrote: Thx, Arnd, I will clean them up for the csky part. Likewise, I'll clean up ARC errors this weekend ! It seems most of therm are in the category you mentioned. Non static but only used by asm code. Thx, -Vineet __

Re: [PATCH 16/17] [RFC] arch: turn -Wmissing-prototypes off conditionally

2023-08-11 Thread Stafford Horne
On Thu, Aug 10, 2023 at 04:19:34PM +0200, Arnd Bergmann wrote: > From: Arnd Bergmann ,,, > --- > Below is the full list of warnings I see in defconfig builds for reference, > these > do not need to be part of the changelog. ... > arch/openrisc/kernel/process.c:100:6: error: no previous prototype

Re: [PATCH 16/17] [RFC] arch: turn -Wmissing-prototypes off conditionally

2023-08-12 Thread Arnd Bergmann
On Fri, Aug 11, 2023, at 22:09, Stafford Horne wrote: > On Thu, Aug 10, 2023 at 04:19:34PM +0200, Arnd Bergmann wrote: >> From: Arnd Bergmann >> arch/openrisc/mm/fault.c:44:17: error: no previous prototype for >> 'do_page_fault' [-Werror=missing-prototypes] >> arch/openrisc/mm/tlb.c:188:13: erro