diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-11-25 08:58:11 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-11-25 08:59:44 +0100 |
commit | 14bfc987e395797dfe03e915e8b4c7fc9e5078e4 (patch) | |
tree | 660992b9d637e3055b0479ebabfdfdf0bd0cb004 /drivers/sh | |
parent | 0429149fb5e01edc410648591c19095d2074ee00 (diff) | |
download | op-kernel-dev-14bfc987e395797dfe03e915e8b4c7fc9e5078e4.zip op-kernel-dev-14bfc987e395797dfe03e915e8b4c7fc9e5078e4.tar.gz |
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 <sfr@canb.auug.org.au>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'drivers/sh')
0 files changed, 0 insertions, 0 deletions