Re: [PATCH] procfs: consolidate arch_report_meminfo declaration

2023-05-17 Thread Helge Deller
On 5/16/23 21:57, Arnd Bergmann wrote: From: Arnd Bergmann The arch_report_meminfo() function is provided by four architectures, with a __weak fallback in procfs itself. On architectures that don't have a custom version, the __weak version causes a warning because of the missing prototype. Rem

Re: [PATCH] procfs: consolidate arch_report_meminfo declaration

2023-05-17 Thread Alexander Gordeev
On Tue, May 16, 2023 at 09:57:29PM +0200, Arnd Bergmann wrote: > From: Arnd Bergmann > > The arch_report_meminfo() function is provided by four architectures, > with a __weak fallback in procfs itself. On architectures that don't > have a custom version, the __weak version causes a warning becaus

Re: [PATCH] procfs: consolidate arch_report_meminfo declaration

2023-05-17 Thread Christian Brauner
On Tue, 16 May 2023 21:57:29 +0200, Arnd Bergmann wrote: > The arch_report_meminfo() function is provided by four architectures, > with a __weak fallback in procfs itself. On architectures that don't > have a custom version, the __weak version causes a warning because > of the missing prototype. >

Re: [PATCH] procfs: consolidate arch_report_meminfo declaration

2023-05-16 Thread Dave Hansen
On 5/16/23 12:57, Arnd Bergmann wrote: > From: Arnd Bergmann > > The arch_report_meminfo() function is provided by four architectures, > with a __weak fallback in procfs itself. On architectures that don't > have a custom version, the __weak version causes a warning because > of the missing proto

[PATCH] procfs: consolidate arch_report_meminfo declaration

2023-05-16 Thread Arnd Bergmann
From: Arnd Bergmann The arch_report_meminfo() function is provided by four architectures, with a __weak fallback in procfs itself. On architectures that don't have a custom version, the __weak version causes a warning because of the missing prototype. Remove the architecture specific prototypes