Commit aabdc3b8 authored by Jason Wessel's avatar Jason Wessel

kgdb: sparse fix

- Fix warning reported by sparse
kernel/kgdb.c:1502:6: warning: symbol 'kgdb_console_write' was not declared.
	Should it be static?
Signed-off-by: default avatarJason Wessel <jason.wessel@windriver.com>
parent a606b5e2
...@@ -1499,7 +1499,8 @@ int kgdb_nmicallback(int cpu, void *regs) ...@@ -1499,7 +1499,8 @@ int kgdb_nmicallback(int cpu, void *regs)
return 1; return 1;
} }
void kgdb_console_write(struct console *co, const char *s, unsigned count) static void kgdb_console_write(struct console *co, const char *s,
unsigned count)
{ {
unsigned long flags; unsigned long flags;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment