]> git.ipfire.org Git - thirdparty/linux.git/commit
kernel/panic: increase buffer size for verbose taint logging
authorRio <rioo.tsukatsukii@gmail.com>
Fri, 20 Feb 2026 15:15:00 +0000 (20:45 +0530)
committerAndrew Morton <akpm@linux-foundation.org>
Sat, 28 Mar 2026 04:19:33 +0000 (21:19 -0700)
commita75d207916de0909e2244bc66a44d72fadbcf383
tree5bde51ae6ecd4e639c6dd3cbe418f864190dcfcf
parent3f80aa1a2a44298c59e8e2ab9b10d9971cfd8c48
kernel/panic: increase buffer size for verbose taint logging

The verbose 'Tainted: ...' string in print_tainted_seq can total to 327
characters while the buffer defined in _print_tainted is 320 bytes.
Increase its size to 350 characters to hold all flags, along with some
headroom.

[akpm@linux-foundation.org: fix spello, add comment]
Link: https://lkml.kernel.org/r/20260220151500.13585-1-rioo.tsukatsukii@gmail.com
Signed-off-by: Rio <rioo.tsukatsukii@gmail.com>
Cc: Joel Granados <joel.granados@kernel.org>
Cc: Petr Mladek <pmladek@suse.com>
Cc: Wang Jinchao <wangjinchao600@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
kernel/panic.c