ACPICA: fix mutex names in debug code.
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / init / do_mounts_rd.c
index 3ac5904d1b124c1584b0308b0c42712d9a86cc20..46dfd64ae8fb027cf74e1252b91b2919f81a1923 100644 (file)
@@ -212,7 +212,7 @@ int __init rd_load_image(char *from)
        }
 
        buf = kmalloc(BLOCK_SIZE, GFP_KERNEL);
-       if (buf == 0) {
+       if (!buf) {
                printk(KERN_ERR "RAMDISK: could not allocate buffer\n");
                goto done;
        }