Re: [linux-next:master 5868/6773] arch/powerpc/mm/mem.c:91:12: warning: no previous prototype for function 'create_section_mapping'

Randy Dunlap
2020-11-18T22:48:43Z

On 11/18/20 1:38 PM, Dan Williams wrote:
> On Wed, Nov 18, 2020 at 1:20 PM Randy Dunlap <rdunlap@infradead.org> wrote:
> [..]
>> Yes, so with gcc, that gave me something like 109 missing prototype
>> warnings -- including one for 'create_section_mapping'.
>
> You see those with this [1] applied? I don't see those warnings
> anymore with gcc-10.2.0 and that patch.
>
> [1]: http://lore.kernel.org/r/160558386174.2948926.2740149041249041764.stgit@dwillia2-desk3.amr.corp.intel.com
>

No, I was testing today's linux-next (20201118).
and gcc 7.5.0.

After applying that patch, that 1 out of 111 -Wmissing-prototype warnings
is gone. :)

Thanks.