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 <redacted>
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/45b4d27a3897d6094bcf84bc877439
cheers