summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorJohn Ogness <john.ogness@linutronix.de>2023-01-09 11:07:53 +0100
committerPetr Mladek <pmladek@suse.com>2023-01-11 15:35:11 +0100
commit2364b406824f1f42026d87c1e26d4dd1ca0f65af (patch)
tree570ef85ef23619743f1db799582ac8f7c0648f77 /fs
parentMerge tag 'printk-for-6.2' of git://git.kernel.org/pub/scm/linux/kernel/git/p... (diff)
downloadlinux-2364b406824f1f42026d87c1e26d4dd1ca0f65af.tar.xz
linux-2364b406824f1f42026d87c1e26d4dd1ca0f65af.zip
printk: move size limit macros into internal.h
The size limit macros are located further down in printk.c and behind ifdef conditionals. This complicates their usage for upcoming changes. Move the macros into internal.h so that they are still invisible outside of printk, but easily accessible for printk. Also, the maximum size of formatted extended messages does not need to be known by any code outside of printk, so move it to internal.h as well. And like CONSOLE_LOG_MAX, for !CONFIG_PRINTK set CONSOLE_EXT_LOG_MAX to 0 to reduce the static memory footprint. Signed-off-by: John Ogness <john.ogness@linutronix.de> Reviewed-by: Petr Mladek <pmladek@suse.com> Signed-off-by: Petr Mladek <pmladek@suse.com> Link: https://lore.kernel.org/r/20230109100800.1085541-2-john.ogness@linutronix.de
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions