]> git.baikalelectronics.ru Git - kernel.git/commit
printk: use pointer for console_cmdline indexing
authorJoe Perches <joe@perches.com>
Wed, 31 Jul 2013 20:53:46 +0000 (13:53 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 31 Jul 2013 21:41:03 +0000 (14:41 -0700)
commit304a46f354524eaa6a2b5f8b52ad5f6562e0de2b
tree5aa2b0afd68c713843a966c4473e486337f353ff
parentcb5a6853cb0b242d4e55b58446c8dd5b98e279dd
printk: use pointer for console_cmdline indexing

Make the code a bit more compact by always using a pointer for the active
console_cmdline.

Move overly indented code to correct indent level.

Signed-off-by: Joe Perches <joe@perches.com>
Cc: Samuel Thibault <samuel.thibault@ens-lyon.org>
Cc: Ming Lei <ming.lei@canonical.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/printk/printk.c