From: Jason Wessel Date: Tue, 24 Jun 2008 15:52:55 +0000 (-0500) Subject: kgdb: sparse fix X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=aabdc3b8c3b3d081f1532454e344208338478e29;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git 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 --- diff --git a/kernel/kgdb.c b/kernel/kgdb.c index 79e3c90113c..3ec23c3ec97 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;