Skip to content

Commit 86bc643

Browse files
webgeek1234ardbiesheuvel
authored andcommitted
efistub: Lower default log level
Some uefi implementations will write the efistub logs to the display over a splash image. This is not desirable for debug and info logs, so lower the default efi log level to exclude them. Suggested-by: Ard Biesheuvel <[email protected]> Signed-off-by: Aaron Kling <[email protected]> Signed-off-by: Ard Biesheuvel <[email protected]>
1 parent f393a76 commit 86bc643

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/firmware/efi/libstub/printk.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55
#include <linux/ctype.h>
66
#include <linux/efi.h>
77
#include <linux/kernel.h>
8-
#include <linux/printk.h> /* For CONSOLE_LOGLEVEL_* */
8+
#include <linux/kern_levels.h>
99
#include <asm/efi.h>
1010
#include <asm/setup.h>
1111

1212
#include "efistub.h"
1313

14-
int efi_loglevel = CONSOLE_LOGLEVEL_DEFAULT;
14+
int efi_loglevel = LOGLEVEL_NOTICE;
1515

1616
/**
1717
* efi_char16_puts() - Write a UCS-2 encoded string to the console

0 commit comments

Comments
 (0)