summaryrefslogtreecommitdiffstats
path: root/arch/x86/platform/efi/early_printk.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/platform/efi/early_printk.c')
-rw-r--r--arch/x86/platform/efi/early_printk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/platform/efi/early_printk.c b/arch/x86/platform/efi/early_printk.c
index 6599a0027b76..81b506d5befd 100644
--- a/arch/x86/platform/efi/early_printk.c
+++ b/arch/x86/platform/efi/early_printk.c
@@ -142,7 +142,7 @@ early_efi_write(struct console *con, const char *str, unsigned int num)
efi_y += font->height;
}
- if (efi_y + font->height >= si->lfb_height) {
+ if (efi_y + font->height > si->lfb_height) {
u32 i;
efi_y -= font->height;
OpenPOWER on IntegriCloud