ARM: mm: Remove virtual address print from B15 RAC driver
authorFlorian Fainelli <f.fainelli@gmail.com>
Tue, 2 Apr 2019 03:23:12 +0000 (20:23 -0700)
committerFlorian Fainelli <f.fainelli@gmail.com>
Wed, 6 May 2020 18:12:12 +0000 (11:12 -0700)
We would be trying to print the kernel virtual address of the base
register address which is not very useful and is not displayed by
default because of pointer restriction. Print the Device Tree node name
instead which is what was originally intended.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
arch/arm/mm/cache-b15-rac.c

index 3471fc6..bdc0703 100644 (file)
@@ -358,8 +358,7 @@ static int __init b15_rac_init(void)
        set_bit(RAC_ENABLED, &b15_rac_flags);
        spin_unlock(&rac_lock);
 
-       pr_info("Broadcom Brahma-B15 readahead cache at: 0x%p\n",
-               b15_rac_base + RAC_CONFIG0_REG);
+       pr_info("%pOF: Broadcom Brahma-B15 readahead cache\n", dn);
 
        goto out;