summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorChen Gang <gang.chen@asianux.com>2013-11-13 00:11:32 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2013-11-13 04:09:35 +0100
commit01284764713b02be23e72338227ce536c740399a (patch)
tree39cd34cf7c859afb268786557bea1b327be5be5a /init
parentgcov: reuse kbasename helper (diff)
downloadlinux-01284764713b02be23e72338227ce536c740399a.tar.xz
linux-01284764713b02be23e72338227ce536c740399a.zip
kernel/panic.c: reduce 1 byte usage for print tainted buffer
sizeof("Tainted: ") already counts '\0', and after first sprintf(), 's' will start from the current string end (its' value is '\0'). So need not add additional 1 byte for maximized usage of 'buf' in print_tainted(). Signed-off-by: Chen Gang <gang.chen@asianux.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions