mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 19:51:31 -04:00
fs: replace remaining __FUNCTION__ occurrences
__FUNCTION__ is gcc-specific, use __func__ Signed-off-by: Harvey Harrison <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
530b641278
commit
8e24eea728
28 changed files with 57 additions and 57 deletions
|
|
@ -115,7 +115,7 @@ configfs_read_file(struct file *file, char __user *buf, size_t count, loff_t *pp
|
|||
goto out;
|
||||
}
|
||||
pr_debug("%s: count = %zd, ppos = %lld, buf = %s\n",
|
||||
__FUNCTION__, count, *ppos, buffer->page);
|
||||
__func__, count, *ppos, buffer->page);
|
||||
retval = simple_read_from_buffer(buf, count, ppos, buffer->page,
|
||||
buffer->count);
|
||||
out:
|
||||
|
|
|
|||
|
|
@ -92,7 +92,7 @@ static int configfs_fill_super(struct super_block *sb, void *data, int silent)
|
|||
|
||||
root = d_alloc_root(inode);
|
||||
if (!root) {
|
||||
pr_debug("%s: could not get root dentry!\n",__FUNCTION__);
|
||||
pr_debug("%s: could not get root dentry!\n",__func__);
|
||||
iput(inode);
|
||||
return -ENOMEM;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -210,13 +210,13 @@ static int configfs_get_target_path(struct config_item * item, struct config_ite
|
|||
if (size > PATH_MAX)
|
||||
return -ENAMETOOLONG;
|
||||
|
||||
pr_debug("%s: depth = %d, size = %d\n", __FUNCTION__, depth, size);
|
||||
pr_debug("%s: depth = %d, size = %d\n", __func__, depth, size);
|
||||
|
||||
for (s = path; depth--; s += 3)
|
||||
strcpy(s,"../");
|
||||
|
||||
fill_item_path(target, path, size);
|
||||
pr_debug("%s: path = '%s'\n", __FUNCTION__, path);
|
||||
pr_debug("%s: path = '%s'\n", __func__, path);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue