Skip to content

Commit 1702877

Browse files
aikmpe
authored andcommitted
powerpc/powernv: Fix compile without CONFIG_TRACEPOINTS
The functions returns s64 but the return statement is missing. This adds the missing return statement. Fixes: 75d9fc7 ("powerpc/powernv: move OPAL call wrapper tracing and interrupt handling to C") Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
1 parent 19d6907 commit 1702877

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/powerpc/platforms/powernv/opal-call.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ static s64 __opal_call_trace(s64 a0, s64 a1, s64 a2, s64 a3,
8686
s64 a4, s64 a5, s64 a6, s64 a7,
8787
unsigned long opcode, unsigned long msr)
8888
{
89+
return 0;
8990
}
9091

9192
#define DO_TRACE false

0 commit comments

Comments
 (0)