Make sure to include <asm/nmi.h> to provide the following prototype:
hv_nmi_check_nonrecoverable.
Remove the following warning treated as error (W=1):
arch/powerpc/kernel/traps.c:393:6: error: no previous prototype for 'hv_nmi_check_nonrecoverable' [-Werror=missing-prototypes]
Signed-off-by: Mathieu Malaterre <redacted>
---
arch/powerpc/kernel/traps.c | 1 +
1 file changed, 1 insertion(+)
Le 12/03/2019 à 21:18, Mathieu Malaterre a écrit :
Make sure to include <asm/nmi.h> to provide the following prototype:
hv_nmi_check_nonrecoverable.
Remove the following warning treated as error (W=1):
arch/powerpc/kernel/traps.c:393:6: error: no previous prototype for 'hv_nmi_check_nonrecoverable' [-Werror=missing-prototypes]
Signed-off-by: Mathieu Malaterre <redacted>
From: Michael Ellerman <hidden> Date: 2019-03-14 11:44:03
On Tue, 2019-03-12 at 20:18:23 UTC, Mathieu Malaterre wrote:
Make sure to include <asm/nmi.h> to provide the following prototype:
hv_nmi_check_nonrecoverable.
Remove the following warning treated as error (W=1):
arch/powerpc/kernel/traps.c:393:6: error: no previous prototype for 'hv_nmi_check_nonrecoverable' [-Werror=missing-prototypes]
Signed-off-by: Mathieu Malaterre <redacted>
Reviewed-by: Christophe Leroy <redacted>