summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/drm_debugfs.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2016-10-08 10:44:55 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2016-10-08 10:44:55 -0400
commit73e8fb2d596d5903cde6dcced39c0b88b5770a56 (patch)
tree27c63346b888ce8f086a81ad801755bc1d4aa2d8 /drivers/gpu/drm/drm_debugfs.c
parent33e09f0ee76e9e4108c5aed67e027ef5e3fe0634 (diff)
parent3baf32898e1c88792fa7cadc88f601833bdae3da (diff)
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 fa10cef2ba37d..1205790ed960c 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;