diff options
author | Jason Wessel <jason.wessel@windriver.com> | 2008-06-24 10:52:55 -0500 |
---|---|---|
committer | Jason Wessel <jason.wessel@windriver.com> | 2008-06-24 10:52:55 -0500 |
commit | aabdc3b8c3b3d081f1532454e344208338478e29 (patch) | |
tree | 5ff3d5c873fa12ec3797690598e8daa2c3225071 | |
parent | a606b5e24b7e2937604f4c85023d8d9c5ab0a28b (diff) | |
download | linux-aabdc3b8c3b3d081f1532454e344208338478e29.tar.gz linux-aabdc3b8c3b3d081f1532454e344208338478e29.tar.bz2 linux-aabdc3b8c3b3d081f1532454e344208338478e29.zip |
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>
-rw-r--r-- | kernel/kgdb.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/kgdb.c b/kernel/kgdb.c index 79e3c90113c2..3ec23c3ec97f 100644 --- a/kernel/kgdb.c +++ b/kernel/kgdb.c @@ -1499,7 +1499,8 @@ int kgdb_nmicallback(int cpu, void *regs) 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; |