assorted conversions to %p[dD]
[firefly-linux-kernel-4.4.55.git] / drivers / media / pci / zoran / zoran_procfs.c
index f7ceee0cdefdee4d5ef1b64429bc02d309a8c5e8..437652761093746e8536ef5ca04e9ca1a9e3df79 100644 (file)
@@ -157,8 +157,8 @@ static ssize_t zoran_write(struct file *file, const char __user *buffer,
                return -EFAULT;
        }
        string[count] = 0;
-       dprintk(4, KERN_INFO "%s: write_proc: name=%s count=%zu zr=%p\n",
-               ZR_DEVNAME(zr), file->f_path.dentry->d_name.name, count, zr);
+       dprintk(4, KERN_INFO "%s: write_proc: name=%pD count=%zu zr=%p\n",
+               ZR_DEVNAME(zr), file, count, zr);
        ldelim = " \t\n";
        tdelim = "=";
        line = strpbrk(sp, ldelim);