Subject: Re: linux-next: build failure after merge of the modules tree

From: Rusty Russell <[email-masked]>
Date: Fri, 27 Nov 2015 13:27:34 +1030

Stephen Rothwell <[email-masked]> writes:
> Hi Rusty,
>
> After merging the modules tree, today's linux-next build (powerpc
> ppc64_defconfig) failed like this:
>
> In file included from include/linux/kexec.h:26:0,
>                  from include/linux/crash_dump.h:5,
>                  from arch/powerpc/platforms/powernv/pci-ioda.c:16:
> include/linux/module.h:770:15: error: return type defaults to 'int' [-Werror=return-type]

Thanks, this typo hit all archs which don't do RO module protection by
default.

Maybe PPC should do that?

I've fixed it (and some others found by 0-day) and rebased.

Thanks,
Rusty.