parisc: use %pD
authorAl Viro <viro@zeniv.linux.org.uk>
Sun, 7 Aug 2016 16:23:38 +0000 (12:23 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 8 Aug 2016 03:38:49 +0000 (23:38 -0400)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
arch/parisc/kernel/cache.c

index 6700127..629eb46 100644 (file)
@@ -345,7 +345,7 @@ void flush_dcache_page(struct page *page)
                                      != (addr & (SHM_COLOUR - 1))) {
                        __flush_cache_page(mpnt, addr, page_to_phys(page));
                        if (old_addr)
-                               printk(KERN_ERR "INEQUIVALENT ALIASES 0x%lx and 0x%lx in file %s\n", old_addr, addr, mpnt->vm_file ? (char *)mpnt->vm_file->f_path.dentry->d_name.name : "(null)");
+                               printk(KERN_ERR "INEQUIVALENT ALIASES 0x%lx and 0x%lx in file %pD\n", old_addr, addr, mpnt->vm_file);
                        old_addr = addr;
                }
        }