* [PATCH kernel] powerpc/powernv: Fix compile without CONFIG_TRACEPOINTS
@ 2019-03-12 5:07 Alexey Kardashevskiy
2019-03-14 11:43 ` [kernel] " Michael Ellerman
0 siblings, 1 reply; 2+ messages in thread
From: Alexey Kardashevskiy @ 2019-03-12 5:07 UTC (permalink / raw)
To: linuxppc-dev; +Cc: Alexey Kardashevskiy, Nicholas Piggin
The functions returns s64 but the return statement is missing.
This adds the missing return statement.
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
---
Just in case if this has not been caught just yet :)
---
arch/powerpc/platforms/powernv/opal-call.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/powerpc/platforms/powernv/opal-call.c b/arch/powerpc/platforms/powernv/opal-call.c
index 578757d403ab..daad8c45c8e7 100644
--- a/arch/powerpc/platforms/powernv/opal-call.c
+++ b/arch/powerpc/platforms/powernv/opal-call.c
@@ -86,6 +86,7 @@ static s64 __opal_call_trace(s64 a0, s64 a1, s64 a2, s64 a3,
s64 a4, s64 a5, s64 a6, s64 a7,
unsigned long opcode, unsigned long msr)
{
+ return 0;
}
#define DO_TRACE false
--
2.17.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [kernel] powerpc/powernv: Fix compile without CONFIG_TRACEPOINTS
2019-03-12 5:07 [PATCH kernel] powerpc/powernv: Fix compile without CONFIG_TRACEPOINTS Alexey Kardashevskiy
@ 2019-03-14 11:43 ` Michael Ellerman
0 siblings, 0 replies; 2+ messages in thread
From: Michael Ellerman @ 2019-03-14 11:43 UTC (permalink / raw)
To: Alexey Kardashevskiy, linuxppc-dev; +Cc: Alexey Kardashevskiy, Nicholas Piggin
On Tue, 2019-03-12 at 05:07:12 UTC, Alexey Kardashevskiy wrote:
> The functions returns s64 but the return statement is missing.
> This adds the missing return statement.
>
> Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/1702877621ff1c8a737857b71d379510
cheers
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-03-14 11:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-03-12 5:07 [PATCH kernel] powerpc/powernv: Fix compile without CONFIG_TRACEPOINTS Alexey Kardashevskiy
2019-03-14 11:43 ` [kernel] " Michael Ellerman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).