Skip to contentSkip to conversation

fs/inode: Modify mismatched function name

PATCH In review Jiapeng Chong 3 participants 3 messages Sep 13, 2024 VFS

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fs/inode: Modify mismatched function name

No functional modification involved.

fs/inode.c:242: warning: expecting prototype for inode_init_always(). Prototype was for inode_init_always_gfp() instead.

---
 fs/inode.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
fs/inode.c +1 -1
index c391365cdfa7..6763900a7a87 100644
@@ -229,7 +229,7 @@ static int no_open(struct inode *inode, struct file *file)
 }
 
 /**
- * inode_init_always - perform inode structure initialisation
+ * inode_init_always_gfp - perform inode structure initialisation
  * @sb: superblock inode belongs to
  * @inode: inode to initialise
  * @gfp: allocation flags
Signature · 1 line
2.32.0.3.g01195cf9f
reviewer
#1 lore raw
Quoted 7 lines · Jiapeng Chong

No functional modification involved.

fs/inode.c:242: warning: expecting prototype for inode_init_always(). Prototype was for inode_init_always_gfp() instead.

I think this is a fallout from Michal's patch [1] which will be respinned anyway AFAIU. Michal, can you please fixup the kernel doc when sending new version of the patch? Thanks!

Honza

[1] https://lore.kernel.org/all/[email protected]/

Quoted 20 lines
---
 fs/inode.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
fs/inode.c +1 -1
index c391365cdfa7..6763900a7a87 100644
@@ -229,7 +229,7 @@ static int no_open(struct inode *inode, struct file *file)
 }
 
 /**
- * inode_init_always - perform inode structure initialisation
+ * inode_init_always_gfp - perform inode structure initialisation
  * @sb: superblock inode belongs to
  * @inode: inode to initialise
  * @gfp: allocation flags
Signature · 1 line
2.32.0.3.g01195cf9f
Signature · 2 lines
Jan Kara <[email protected]>
SUSE Labs, CR
#2 lore raw
Quoted 5 lines · Jan Kara
Quoted 4 lines · Jiapeng Chong

No functional modification involved.

fs/inode.c:242: warning: expecting prototype for inode_init_always(). Prototype was for inode_init_always_gfp() instead.

Quoted 7 lines
Quoted 3 lines

I think this is a fallout from Michal's patch [1] which will be respinned anyway AFAIU. Michal, can you please fixup the kernel doc when sending new version of the patch? Thanks!

Yes, I will. Thanks for heads up.

Signature · 2 lines
Michal Hocko
SUSE Labs