Re: [PATCH 4/5] ftrace: Convert "filter_hash" and "inc" to bool in ftrace_hash_rec_update_modify()

From: Steven Rostedt
Date: Tue Jun 04 2024 - 21:57:18 EST


On Wed, 5 Jun 2024 09:12:57 +0800
kernel test robot <lkp@xxxxxxxxx> wrote:

> >> kernel/trace/ftrace.c:1961:13: error: conflicting types for 'ftrace_hash_rec_disable_modify'
> 1961 | static void ftrace_hash_rec_disable_modify(struct ftrace_ops *ops,
> | ^
> kernel/trace/ftrace.c:1384:1: note: previous declaration is here
> 1384 | ftrace_hash_rec_disable_modify(struct ftrace_ops *ops, int filter_hash);
> | ^
> >> kernel/trace/ftrace.c:1967:13: error: conflicting types for 'ftrace_hash_rec_enable_modify'
> 1967 | static void ftrace_hash_rec_enable_modify(struct ftrace_ops *ops,

Of course these static functions have prototypes to be used earlier. Bah!

-- Steve