public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] fs/efs/inode.c: use __func__ instead of function name
@ 2022-09-19  2:33 Jiangshan Yi
  2022-09-20  0:24 ` Al Viro
  0 siblings, 1 reply; 5+ messages in thread
From: Jiangshan Yi @ 2022-09-19  2:33 UTC (permalink / raw)
  To: akpm, viro; +Cc: willy, linux-kernel, Jiangshan Yi

From: Jiangshan Yi <yijiangshan@kylinos.cn>

It is better to use __func__ instead of function name.

Signed-off-by: Jiangshan Yi <yijiangshan@kylinos.cn>
---
 fs/efs/inode.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/fs/efs/inode.c b/fs/efs/inode.c
index 3ba94bb005a6..ba15c7d66adc 100644
--- a/fs/efs/inode.c
+++ b/fs/efs/inode.c
@@ -141,8 +141,8 @@ struct inode *efs_iget(struct super_block *super, unsigned long ino)
 	}
 
 	brelse(bh);
-	pr_debug("efs_iget(): inode %lu, extents %d, mode %o\n",
-		 inode->i_ino, in->numextents, inode->i_mode);
+	pr_debug("%s(): inode %lu, extents %d, mode %o\n",
+		 __func__, inode->i_ino, in->numextents, inode->i_mode);
 	switch (inode->i_mode & S_IFMT) {
 		case S_IFDIR: 
 			inode->i_op = &efs_dir_inode_operations; 
-- 
2.27.0


No virus found
		Checked by Hillstone Network AntiVirus


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-09-21  9:54 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-19  2:33 [PATCH] fs/efs/inode.c: use __func__ instead of function name Jiangshan Yi
2022-09-20  0:24 ` Al Viro
2022-09-20  0:37   ` Gao Xiang
2022-09-20  0:52     ` Al Viro
2022-09-21  9:52   ` David Laight

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox