Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1580838 > unrolled thread

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

Started bySteven Rostedt <rostedt@goodmis.org>
First post2017-02-14 21:20 +0100
Last post2017-02-14 21:20 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH] kernel: tracing: use modern function declaration Steven Rostedt <rostedt@goodmis.org> - 2017-02-14 21:20 +0100

#1580838 — Re: [PATCH] kernel: tracing: use modern function declaration

FromSteven Rostedt <rostedt@goodmis.org>
Date2017-02-14 21:20 +0100
SubjectRe: [PATCH] kernel: tracing: use modern function declaration
Message-ID<taRJU-6oO-29@gated-at.bofh.it>
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

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web