summaryrefslogtreecommitdiffstats
path: root/kernel/crash_dump.c
diff options
context:
space:
mode:
authorHe Zhe <zhe.he@windriver.com>2018-09-29 18:45:53 +0200
committerPetr Mladek <pmladek@suse.com>2018-10-09 14:02:05 +0200
commite6fe3e5b7d16e8f146a4ae7fe481bc6e97acde1e (patch)
tree501f09fb02ba30c5ad9ae153a14740886ed7ae00 /kernel/crash_dump.c
parentprintk: Add KBUILD_MODNAME and remove a redundant print prefix (diff)
downloadlinux-e6fe3e5b7d16e8f146a4ae7fe481bc6e97acde1e.tar.xz
linux-e6fe3e5b7d16e8f146a4ae7fe481bc6e97acde1e.zip
printk: Give error on attempt to set log buffer length to over 2G
The current printk() is ready to handle log buffer size up to 2G. Give an explicit error for users who want to use larger log buffer. Also fix printk formatting to show the 2G as a positive number. Link: http://lkml.kernel.org/r/20181008135916.gg4kkmoki5bgtco5@pathway.suse.cz Cc: rostedt@goodmis.org Cc: linux-kernel@vger.kernel.org Suggested-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com> Signed-off-by: He Zhe <zhe.he@windriver.com> Reviewed-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com> [pmladek: Fixed to the really safe limit 2GB.] Signed-off-by: Petr Mladek <pmladek@suse.com>
Diffstat (limited to 'kernel/crash_dump.c')
0 files changed, 0 insertions, 0 deletions