Skip to content

Commit

Permalink
kgdb: sparse fix
Browse files Browse the repository at this point in the history
- 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>
  • Loading branch information
Jason Wessel committed Jun 24, 2008
1 parent a606b5e commit aabdc3b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion kernel/kgdb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit aabdc3b

Please sign in to comment.