]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
init-do_mounts_rdc-fix-null-pointer-dereference-while-loading-initramfs-fix
authorAndrew Morton <akpm@linux-foundation.org>
Tue, 5 Nov 2013 05:57:03 +0000 (16:57 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 5 Nov 2013 05:57:03 +0000 (16:57 +1100)
mention that the problem is with the ramdisk, don't print known-to-be-NULL value

Cc: P J P <prasad@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
init/do_mounts_rd.c

index bdaa345880d0493adbddd17ebfdfeb0a8545b501..143e98de6f2938639b0c578fe57ff045148687d3 100644 (file)
@@ -344,8 +344,8 @@ static int __init crd_load(int in_fd, int out_fd, decompress_fn deco)
        crd_outfd = out_fd;
 
        if (!deco) {
-               pr_emerg("Invalid decompression routine: %p; "
-                                "Select appropriate config option.\n", deco);
+               pr_emerg("Invalid ramdisk decompression routine.  "
+                        "Select appropriate config option.\n");
                panic("Could not decompress initial ramdisk image.");
        }