diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2016-08-07 18:22:20 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2016-08-08 05:38:48 +0200 |
commit | bcd599e790d886dcd94b7325515a81fb1647d265 (patch) | |
tree | 4ea5455662cb63e5618b9bcb9bc3167d2fb2aef7 /drivers/gpu/drm/drm_debugfs.c | |
parent | iwlwifi: use %pd (diff) | |
download | linux-bcd599e790d886dcd94b7325515a81fb1647d265.tar.xz linux-bcd599e790d886dcd94b7325515a81fb1647d265.zip |
gpu: use %pd
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers/gpu/drm/drm_debugfs.c')
-rw-r--r-- | drivers/gpu/drm/drm_debugfs.c | 4 |
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; |