]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5564ed0f99fe0aee217e04cf44a8aa31f97cb2c6
tree84563992e2757a8c7d3276ca95a422811266b4d1
parent8d6c8eafb67ef9169a271e28e06e91e60b16f789
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