Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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: Jason Wessel <jason.wessel@windriver.com>

+2 -1
+2 -1
kernel/kgdb.c
··· 1499 1499 return 1; 1500 1500 } 1501 1501 1502 - void kgdb_console_write(struct console *co, const char *s, unsigned count) 1502 + static void kgdb_console_write(struct console *co, const char *s, 1503 + unsigned count) 1503 1504 { 1504 1505 unsigned long flags; 1505 1506