[10/21] powerpc: Add missing prototype for slb_miss_bad_addr

Michael Ellerman patch-notifications at ellerman.id.au
Wed Mar 14 20:27:53 AEDT 2018

On Sun, 2018-02-25 at 17:22:25 UTC, Mathieu Malaterre wrote:
> In commit f0f558b131db ("powerpc/mm: Preserve CFAR value on SLB miss caused
> by access to bogus address"), the function slb_miss_bad_addr was added
> without a prototype. This commit adds it.
> Fix a warning (treated as error in W=1):
>   CC      arch/powerpc/kernel/traps.o
> arch/powerpc/kernel/traps.c:1498:6: error: no previous prototype for ‘slb_miss_bad_addr’ [-Werror=missing-prototypes]
>  void slb_miss_bad_addr(struct pt_regs *regs)
>       ^~~~~~~~~~~~~~~~~
> cc1: all warnings being treated as errors
> Signed-off-by: Mathieu Malaterre <malat at debian.org>

Applied to powerpc next, thanks.



More information about the Linuxppc-dev mailing list