aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2016-08-07 12:22:20 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2016-08-07 23:38:48 -0400
commitbcd599e790d886dcd94b7325515a81fb1647d265 (patch)
tree4ea5455662cb63e5618b9bcb9bc3167d2fb2aef7
parent27a22096b21a88300bc986fef85ce54cb7741853 (diff)
gpu: use %pd
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
-rw-r--r--drivers/gpu/drm/drm_debugfs.c4
-rw-r--r--drivers/gpu/drm/msm/msm_perf.c4
-rw-r--r--drivers/gpu/drm/msm/msm_rd.c4
3 files changed, 6 insertions, 6 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,
104 ent = debugfs_create_file(files[i].name, S_IFREG | S_IRUGO, 104 ent = debugfs_create_file(files[i].name, S_IFREG | S_IRUGO,
105 root, tmp, &drm_debugfs_fops); 105 root, tmp, &drm_debugfs_fops);
106 if (!ent) { 106 if (!ent) {
107 DRM_ERROR("Cannot create /sys/kernel/debug/dri/%s/%s\n", 107 DRM_ERROR("Cannot create /sys/kernel/debug/dri/%pd/%s\n",
108 root->d_name.name, files[i].name); 108 root, files[i].name);
109 kfree(tmp); 109 kfree(tmp);
110 ret = -1; 110 ret = -1;
111 goto fail; 111 goto fail;
diff --git a/drivers/gpu/drm/msm/msm_perf.c b/drivers/gpu/drm/msm/msm_perf.c
index 17fe4e53e0d1..1627294575cb 100644
--- a/drivers/gpu/drm/msm/msm_perf.c
+++ b/drivers/gpu/drm/msm/msm_perf.c
@@ -229,8 +229,8 @@ int msm_perf_debugfs_init(struct drm_minor *minor)
229 perf->ent = debugfs_create_file("perf", S_IFREG | S_IRUGO, 229 perf->ent = debugfs_create_file("perf", S_IFREG | S_IRUGO,
230 minor->debugfs_root, perf, &perf_debugfs_fops); 230 minor->debugfs_root, perf, &perf_debugfs_fops);
231 if (!perf->ent) { 231 if (!perf->ent) {
232 DRM_ERROR("Cannot create /sys/kernel/debug/dri/%s/perf\n", 232 DRM_ERROR("Cannot create /sys/kernel/debug/dri/%pd/perf\n",
233 minor->debugfs_root->d_name.name); 233 minor->debugfs_root);
234 goto fail; 234 goto fail;
235 } 235 }
236 236
diff --git a/drivers/gpu/drm/msm/msm_rd.c b/drivers/gpu/drm/msm/msm_rd.c
index 3a5fdfcd67ae..8487f461f05f 100644
--- a/drivers/gpu/drm/msm/msm_rd.c
+++ b/drivers/gpu/drm/msm/msm_rd.c
@@ -243,8 +243,8 @@ int msm_rd_debugfs_init(struct drm_minor *minor)
243 rd->ent = debugfs_create_file("rd", S_IFREG | S_IRUGO, 243 rd->ent = debugfs_create_file("rd", S_IFREG | S_IRUGO,
244 minor->debugfs_root, rd, &rd_debugfs_fops); 244 minor->debugfs_root, rd, &rd_debugfs_fops);
245 if (!rd->ent) { 245 if (!rd->ent) {
246 DRM_ERROR("Cannot create /sys/kernel/debug/dri/%s/rd\n", 246 DRM_ERROR("Cannot create /sys/kernel/debug/dri/%pd/rd\n",
247 minor->debugfs_root->d_name.name); 247 minor->debugfs_root);
248 goto fail; 248 goto fail;
249 } 249 }
250 250