Re: [PATCH] ftrace/fgraph: fix increased missing-prototypes warnings

From: Catalin Marinas
Date: Wed Jun 01 2022 - 14:23:58 EST


On Fri, 6 May 2022 11:27:37 +0800, Chengming Zhou wrote:
> After commit e999995c84c3 ("ftrace: cleanup ftrace_graph_caller enable
> and disable") merged into the linux-next tree, the kernel test robot
> (lkp@xxxxxxxxx) has send out report that there are increased missing-prototypes
> warnings caused by that commit.
>
> COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross W=1 \
> O=build_dir ARCH=sh SHELL=/bin/bash kernel/trace/
> warning: no previous prototype for 'ftrace_enable_ftrace_graph_caller' [-Wmissing-prototypes]
> warning: no previous prototype for 'ftrace_disable_ftrace_graph_caller' [-Wmissing-prototypes]
> warning: no previous prototype for 'ftrace_return_to_handler' [-Wmissing-prototypes]
> warning: no previous prototype for 'ftrace_graph_sleep_time_control' [-Wmissing-prototypes]
>
> [...]

Applied to arm64 (for-next/core), thanks!

[1/1] ftrace/fgraph: fix increased missing-prototypes warnings
https://git.kernel.org/arm64/c/ff979b2a9d97

--
Catalin