Re: [PATCH][next] ftrace: Fix -Wcast-function-type warnings on powerpc64

From: Gustavo A. R. Silva
Date: Tue Oct 12 2021 - 22:35:02 EST


On Tue, Oct 12, 2021 at 10:23:40PM -0400, Steven Rostedt wrote:
> On Tue, 12 Oct 2021 20:40:42 -0500
> "Gustavo A. R. Silva" <gustavoars@xxxxxxxxxx> wrote:
>
> > Do you mind if, in the meantime, I add your patch to my -next tree?
> > So, I can enable -Wcast-function-type in linux-next --I want to get
> > ready for the next merge window.
>
> You mean to push it to Linus as well? I'm not sure that's the best way.

No. Just add it to my -next tree, temporarily. So, I can enable the
compiler option and it can be tested in linux-next (and no more of
these issues are introduced). The only part I'll send to Linus would
be the Makefile patch.

> I'm still working on some bugs that are going to go into this rc
> release, and then I plan on pushing my for-next queue (which includes
> this change).

Once you have it ready, I would remove it from my tree.

--
Gustavo