Thread (83 messages) flat view 83 messages, 6 authors, 2018-03-27

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

From: Michael Ellerman <hidden>
Date: 2018-03-14 09:27:59
Also in: lkml

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help