aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/drm_debugfs.c
diff options
context:
space:
mode:
authorAl Viro <[email protected]>2016-10-08 14:44:55 +0000
committerAl Viro <[email protected]>2016-10-08 14:44:55 +0000
commit73e8fb2d596d5903cde6dcced39c0b88b5770a56 (patch)
tree27c63346b888ce8f086a81ad801755bc1d4aa2d8 /drivers/gpu/drm/drm_debugfs.c
parentMerge branch 'work.iget' into work.misc (diff)
parentparisc: use %pD (diff)
downloadkernel-73e8fb2d596d5903cde6dcced39c0b88b5770a56.tar.gz
kernel-73e8fb2d596d5903cde6dcced39c0b88b5770a56.zip
Merge branch 'work.const-qstr' into work.misc
Diffstat (limited to 'drivers/gpu/drm/drm_debugfs.c')
-rw-r--r--drivers/gpu/drm/drm_debugfs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/drm_debugfs.c b/drivers/gpu/drm/drm_debugfs.c
index fa10cef2ba37..1205790ed960 100644
--- a/drivers/gpu/drm/drm_debugfs.c
+++ b/drivers/gpu/drm/drm_debugfs.c
@@ -104,8 +104,8 @@ int drm_debugfs_create_files(const struct drm_info_list *files, int count,
ent = debugfs_create_file(files[i].name, S_IFREG | S_IRUGO,
root, tmp, &drm_debugfs_fops);
if (!ent) {
- DRM_ERROR("Cannot create /sys/kernel/debug/dri/%s/%s\n",
- root->d_name.name, files[i].name);
+ DRM_ERROR("Cannot create /sys/kernel/debug/dri/%pd/%s\n",
+ root, files[i].name);
kfree(tmp);
ret = -1;
goto fail;