mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 06:09:23 -04:00
Merge "ion: msm: Remove dentry_path() usage on heap debugfs file creation errors"
This commit is contained in:
commit
2ea260cbe3
1 changed files with 4 additions and 3 deletions
|
|
@ -121,7 +121,7 @@ static const struct file_operations msm_ion_debug_heap_fops = {
|
|||
|
||||
static void msm_ion_debugfs_create_file(struct msm_ion_heap *msm_heap)
|
||||
{
|
||||
char debug_name[64], buf[256];
|
||||
char debug_name[64];
|
||||
struct dentry *debugfs_root;
|
||||
struct ion_heap *heap;
|
||||
|
||||
|
|
@ -132,8 +132,9 @@ static void msm_ion_debugfs_create_file(struct msm_ion_heap *msm_heap)
|
|||
scnprintf(debug_name, 64, "%s_stats", heap->name);
|
||||
if (!debugfs_create_file(debug_name, 0664, debugfs_root,
|
||||
msm_heap, &msm_ion_debug_heap_fops))
|
||||
pr_err("Failed to create heap debugfs at %s/%s\n",
|
||||
dentry_path(debugfs_root, buf, 256), debug_name);
|
||||
dev_err(msm_heap->dev,
|
||||
"Failed to create %s debugfs entry\n",
|
||||
debug_name);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue