Commit bcd599e7 authored by Al Viro's avatar Al Viro

gpu: use %pd

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 27a22096
...@@ -104,8 +104,8 @@ int drm_debugfs_create_files(const struct drm_info_list *files, int count, ...@@ -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, ent = debugfs_create_file(files[i].name, S_IFREG | S_IRUGO,
root, tmp, &drm_debugfs_fops); root, tmp, &drm_debugfs_fops);
if (!ent) { if (!ent) {
DRM_ERROR("Cannot create /sys/kernel/debug/dri/%s/%s\n", DRM_ERROR("Cannot create /sys/kernel/debug/dri/%pd/%s\n",
root->d_name.name, files[i].name); root, files[i].name);
kfree(tmp); kfree(tmp);
ret = -1; ret = -1;
goto fail; goto fail;
......
...@@ -229,8 +229,8 @@ int msm_perf_debugfs_init(struct drm_minor *minor) ...@@ -229,8 +229,8 @@ int msm_perf_debugfs_init(struct drm_minor *minor)
perf->ent = debugfs_create_file("perf", S_IFREG | S_IRUGO, perf->ent = debugfs_create_file("perf", S_IFREG | S_IRUGO,
minor->debugfs_root, perf, &perf_debugfs_fops); minor->debugfs_root, perf, &perf_debugfs_fops);
if (!perf->ent) { if (!perf->ent) {
DRM_ERROR("Cannot create /sys/kernel/debug/dri/%s/perf\n", DRM_ERROR("Cannot create /sys/kernel/debug/dri/%pd/perf\n",
minor->debugfs_root->d_name.name); minor->debugfs_root);
goto fail; goto fail;
} }
......
...@@ -243,8 +243,8 @@ int msm_rd_debugfs_init(struct drm_minor *minor) ...@@ -243,8 +243,8 @@ int msm_rd_debugfs_init(struct drm_minor *minor)
rd->ent = debugfs_create_file("rd", S_IFREG | S_IRUGO, rd->ent = debugfs_create_file("rd", S_IFREG | S_IRUGO,
minor->debugfs_root, rd, &rd_debugfs_fops); minor->debugfs_root, rd, &rd_debugfs_fops);
if (!rd->ent) { if (!rd->ent) {
DRM_ERROR("Cannot create /sys/kernel/debug/dri/%s/rd\n", DRM_ERROR("Cannot create /sys/kernel/debug/dri/%pd/rd\n",
minor->debugfs_root->d_name.name); minor->debugfs_root);
goto fail; goto fail;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment