Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1580838
| From | Steven Rostedt <rostedt@goodmis.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] kernel: tracing: use modern function declaration |
| Date | 2017-02-14 21:20 +0100 |
| Message-ID | <taRJU-6oO-29@gated-at.bofh.it> (permalink) |
| References | <t2LV0-6oh-15@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Mon, 23 Jan 2017 13:24:45 +0100
Arnd Bergmann <arnd@arndb.de> 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@arndb.de>
Applied, Thanks!
-- Steve
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
Re: [PATCH] kernel: tracing: use modern function declaration Steven Rostedt <rostedt@goodmis.org> - 2017-02-14 21:20 +0100
csiph-web