fs: replace remaining __FUNCTION__ occurrences
__FUNCTION__ is gcc-specific, use __func__ Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
committed by
Linus Torvalds
parent
530b641278
commit
8e24eea728
@@ -200,7 +200,7 @@ int __init dlm_lockspace_init(void)
|
||||
|
||||
dlm_kset = kset_create_and_add("dlm", NULL, kernel_kobj);
|
||||
if (!dlm_kset) {
|
||||
printk(KERN_WARNING "%s: can not create kset\n", __FUNCTION__);
|
||||
printk(KERN_WARNING "%s: can not create kset\n", __func__);
|
||||
return -ENOMEM;
|
||||
}
|
||||
return 0;
|
||||
|
Reference in New Issue
Block a user