Re: [PATCH] parisc/kernel/ftrace: Remove function callback casts

2020-07-04 Thread Oscar Carter
On Sat, Jun 27, 2020 at 10:09:40PM +0200, Helge Deller wrote: > On 27.06.20 15:43, Oscar Carter wrote: > > In an effort to enable -Wcast-function-type in the top-level Makefile to > > support Control Flow Integrity builds, remove all the function callback > > casts. > > > > To do this remove the ca

Re: [PATCH] parisc/kernel/ftrace: Remove function callback casts

2020-06-27 Thread Helge Deller
On 27.06.20 15:43, Oscar Carter wrote: > In an effort to enable -Wcast-function-type in the top-level Makefile to > support Control Flow Integrity builds, remove all the function callback > casts. > > To do this remove the cast to a function pointer type in the comparison > statement and add to the

[PATCH] parisc/kernel/ftrace: Remove function callback casts

2020-06-27 Thread Oscar Carter
In an effort to enable -Wcast-function-type in the top-level Makefile to support Control Flow Integrity builds, remove all the function callback casts. To do this remove the cast to a function pointer type in the comparison statement and add to the right and left operand a cast to unsigned long ty