Re: [PATCH][next] ftrace: Fix -Wcast-function-type warnings on powerpc64
From: Steven Rostedt
Date: Wed Oct 06 2021 - 17:14:49 EST
On Wed, 6 Oct 2021 16:14:26 -0500
"Gustavo A. R. Silva" <gustavoars@xxxxxxxxxx> wrote:
> > Which I guess leaves us with either the linker trick, or having all
> > the archs get updated to support the latest ftrace features, and we can
> > remove the current #ifdefs.
>
> OK. Are you going to apply your patch any time soon? So, I can go and
> enable -Wcast-function-type in my -next tree. :)
Sure. I only did not add it because of the issue Jann brought up. But if it
is needed, and I do not want more #ifdef all over the code, I'll add it,
and perhaps even mark it for stable.
I'm working on some other fixes now anyway.
-- Steve