Subject: Re: linux-next: ftrace tree build warnings

From: Steven Rostedt <[email-masked]>
Date: Mon, 24 Nov 2008 21:44:56 -0500

On Tue, 2008-11-25 at 13:38 +1100, Stephen Rothwell wrote:
> Hi all,
> 
> Today's linux-next build (x86_64 allmodconfig) produced lots of these
> warnings:
> 
> include/linux/tty.h:330: warning: '______f' is static but declared in inline function 'tty_kref_get' which is not static
> 
> Caused by commit 2bcd521a684cc94befbe2ce7d5b613c841b0d304 ("trace:
> profile all if conditionals").  Something needs to be done about
> this ...  maybe tty_kref_get needs to be "static inline" instead of
> "extern inline"?
> 

Is there a way to suppress this warning here? Since we are only
profiling, if it complies fine, then it should not be an issue.

Looking at the uses of this function, is there any reason that it is not
"static inline"?

-- Steve