projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a606b5e
)
kgdb: sparse fix
author
Jason Wessel
<jason.wessel@windriver.com>
Tue, 24 Jun 2008 15:52:55 +0000
(10:52 -0500)
committer
Jason Wessel
<jason.wessel@windriver.com>
Tue, 24 Jun 2008 15:52:55 +0000
(10:52 -0500)
- 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>
kernel/kgdb.c
patch
|
blob
|
blame
|
history
diff --git
a/kernel/kgdb.c
b/kernel/kgdb.c
index 79e3c90113c2874d592ece9d9cdef0e496499870..3ec23c3ec97fae75910a399b4b7200fb6a9169c6 100644
(file)
--- 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;