From: Ingo Molnar Date: Tue, 25 Nov 2008 07:58:11 +0000 (+0100) Subject: tracing, tty: fix warnings caused by branch tracing and tty_kref_get() X-Git-Tag: v2.6.29-rc1~586^2~43^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=14bfc987e395797dfe03e915e8b4c7fc9e5078e4;p=pandora-kernel.git tracing, tty: fix warnings caused by branch tracing and tty_kref_get() Stephen Rothwell reported tht this warning started triggering in linux-next: In file included from init/main.c:27: include/linux/tty.h: In function ‘tty_kref_get’: include/linux/tty.h:330: warning: ‘______f’ is static but declared in inline function ‘tty_kref_get’ which is not static Which gcc emits for 'extern inline' functions that nevertheless define static variables. Change it to 'static inline', which is the norm in the kernel anyway. Reported-by: Stephen Rothwell Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed