diff options
Diffstat (limited to 'arch/x86/kernel/check.c')
-rw-r--r-- | arch/x86/kernel/check.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/check.c b/arch/x86/kernel/check.c index 452932d3473..95680fc4df5 100644 --- a/arch/x86/kernel/check.c +++ b/arch/x86/kernel/check.c | |||
@@ -86,7 +86,7 @@ void __init setup_bios_corruption_check(void) | |||
86 | u64 size; | 86 | u64 size; |
87 | addr = memblock_x86_find_in_range_size(addr, &size, PAGE_SIZE); | 87 | addr = memblock_x86_find_in_range_size(addr, &size, PAGE_SIZE); |
88 | 88 | ||
89 | if (addr == MEMBLOCK_ERROR) | 89 | if (!addr) |
90 | break; | 90 | break; |
91 | 91 | ||
92 | if (addr >= corruption_check_size) | 92 | if (addr >= corruption_check_size) |