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 -- To unsubscribe from this list: send the line "unsubscribe linux-next" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html