Re: [PATCH] kernel: tracing: use modern function declaration

From: Steven Rostedt
Date: Tue Feb 14 2017 - 15:13:00 EST


On Mon, 23 Jan 2017 13:24:45 +0100
Arnd Bergmann <arnd@xxxxxxxx> wrote:

> We get a lot of harmless warnings about this header file at W=1 level
> because of an unusual function declaration:
>
> kernel/trace/trace.h:766:1: error: 'inline' is not at beginning of declaration [-Werror=old-style-declaration]
>
> This moves the inline statement where it normally belongs, avoiding the
> warning.
>
> Fixes: 4046bf023b06 ("ftrace: Expose ftrace_hash_empty and ftrace_lookup_ip")
> Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>

Applied, Thanks!

-- Steve