projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
59a3759
)
Use a format for linux_banner
author
Alex Riesen
<raa.lkml@gmail.com>
Sun, 24 May 2009 13:30:48 +0000
(15:30 +0200)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Sun, 24 May 2009 18:19:11 +0000
(11:19 -0700)
There is no format specifiers left in the linux_banner, and gcc-4.3
complains seeing the printk.
Signed-off-by: Alex Riesen <raa.lkml@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
init/main.c
patch
|
blob
|
blame
|
history
diff --git
a/init/main.c
b/init/main.c
index 3bbf93be744cf8be8614ca92c32b01181bf58a4f..d721dad05dd722fa065170e9f573a4f74c49d38d 100644
(file)
--- a/
init/main.c
+++ b/
init/main.c
@@
-566,8
+566,7
@@
asmlinkage void __init start_kernel(void)
tick_init();
boot_cpu_init();
page_address_init();
- printk(KERN_NOTICE);
- printk(linux_banner);
+ printk(KERN_NOTICE "%s", linux_banner);
setup_arch(&command_line);
mm_init_owner(&init_mm, &init_task);
setup_command_line(command_line);