ttyprintk: make the printk log level configurable
authorPeter Korsgaard <peter@korsgaard.com>
Tue, 6 Nov 2018 22:11:37 +0000 (23:11 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 9 Nov 2018 16:58:18 +0000 (08:58 -0800)
commitacef6660d3aaf18813143c8c5f5d4640ca53ef72
tree84563992e2757a8c7d3276ca95a422811266b4d1
parent397bd9211fe014b347ca8f95a8f4e1017bac1aeb
ttyprintk: make the printk log level configurable

For some use cases it is handy to use a different printk log level than the
default (info) for the messages written to ttyprintk, so add a Kconfig
option similar to what we have for default console loglevel.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/char/Kconfig
drivers/char/ttyprintk.c