]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - kernel/printk.c
Merge branch 'master' into x86/memblock
[karo-tx-linux.git] / kernel / printk.c
index 1455a0d4eedd4b386c759d689f939ba5d7a9007a..baf2aebd6970af85547a865276785557b4066e27 100644 (file)
@@ -199,7 +199,7 @@ void __init setup_log_buf(int early)
                unsigned long mem;
 
                mem = memblock_alloc(new_log_buf_len, PAGE_SIZE);
-               if (mem == MEMBLOCK_ERROR)
+               if (!mem)
                        return;
                new_log_buf = __va(mem);
        } else {