diff mbox series

[v5,1/2] printk: Export console_printk

Message ID 20190129134350.24049-2-prarit@redhat.com (mailing list archive)
State New, archived
Headers show
Series Do not output logo on quiet boots | expand

Commit Message

Prarit Bhargava Jan. 29, 2019, 1:43 p.m. UTC
The fbcon can be built as a module and requires console_printk.

Export console_printk.

Signed-off-by: Prarit Bhargava <prarit@redhat.com>
Reviewed-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Cc: Petr Mladek <pmladek@suse.com>
---
 kernel/printk/printk.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Petr Mladek Feb. 7, 2019, 11:55 a.m. UTC | #1
On Tue 2019-01-29 08:43:49, Prarit Bhargava wrote:
> The fbcon can be built as a module and requires console_printk.
> 
> Export console_printk.
> 
> Signed-off-by: Prarit Bhargava <prarit@redhat.com>
> Reviewed-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
> Cc: Petr Mladek <pmladek@suse.com>

Acked-by: Petr Mladek <pmladek@suse.com>

BTW: Also the 2nd patch looks good. But I could not reply
on it because I was neither on CC nor I am subscribed
to the used mailing lists.

I personally prefer to send the entire patchset to all
affected people. It helps to review even a single patch
in the context of the others.

Best Regards,
Petr
diff mbox series

Patch

diff --git a/kernel/printk/printk.c b/kernel/printk/printk.c
index d3d170374ceb..8201019d1fff 100644
--- a/kernel/printk/printk.c
+++ b/kernel/printk/printk.c
@@ -65,6 +65,7 @@  int console_printk[4] = {
 	CONSOLE_LOGLEVEL_MIN,		/* minimum_console_loglevel */
 	CONSOLE_LOGLEVEL_DEFAULT,	/* default_console_loglevel */
 };
+EXPORT_SYMBOL_GPL(console_printk);
 
 atomic_t ignore_console_lock_warning __read_mostly = ATOMIC_INIT(0);
 EXPORT_SYMBOL(ignore_console_lock_warning);