]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - arch/powerpc/kernel/prom.c
powerpc/prom: fix early DEBUG messages
[mirror_ubuntu-bionic-kernel.git] / arch / powerpc / kernel / prom.c
index eaea3f1f0873984a449ca6f43b65768bf8716500..5fa8c8f1c983081b2b2b1e872281b4a60a33a17a 100644 (file)
@@ -129,7 +129,7 @@ static void __init move_device_tree(void)
                p = __va(memblock_alloc(size, PAGE_SIZE));
                memcpy(p, initial_boot_params, size);
                initial_boot_params = p;
-               DBG("Moved device tree to 0x%p\n", p);
+               DBG("Moved device tree to 0x%px\n", p);
        }
 
        DBG("<- move_device_tree\n");
@@ -732,7 +732,7 @@ void __init early_init_devtree(void *params)
 {
        phys_addr_t limit;
 
-       DBG(" -> early_init_devtree(%p)\n", params);
+       DBG(" -> early_init_devtree(%px)\n", params);
 
        /* Too early to BUG_ON(), do it by hand */
        if (!early_init_dt_verify(params))
@@ -792,7 +792,7 @@ void __init early_init_devtree(void *params)
        memblock_allow_resize();
        memblock_dump_all();
 
-       DBG("Phys. mem: %llx\n", memblock_phys_mem_size());
+       DBG("Phys. mem: %llx\n", (unsigned long long)memblock_phys_mem_size());
 
        /* We may need to relocate the flat tree, do it now.
         * FIXME .. and the initrd too? */