Skip to content

Commit 018ab4f

Browse files
committed
netfs: fix up netfs_inode_init() docbook comment
Commit e81fb41 ("netfs: Further cleanups after struct netfs_inode wrapper introduced") changed the argument types and names, and actually updated the comment too (although that was thanks to David Howells, not me: my original patch only changed the code). But the comment fixup didn't go quite far enough, and didn't change the argument name in the comment, resulting in include/linux/netfs.h:314: warning: Function parameter or member 'ctx' not described in 'netfs_inode_init' include/linux/netfs.h:314: warning: Excess function parameter 'inode' description in 'netfs_inode_init' during htmldoc generation. Fixes: e81fb41 ("netfs: Further cleanups after struct netfs_inode wrapper introduced") Reported-by: Stephen Rothwell <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
1 parent 24625f7 commit 018ab4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/linux/netfs.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ static inline struct netfs_inode *netfs_inode(struct inode *inode)
304304

305305
/**
306306
* netfs_inode_init - Initialise a netfslib inode context
307-
* @inode: The netfs inode to initialise
307+
* @ctx: The netfs inode to initialise
308308
* @ops: The netfs's operations list
309309
*
310310
* Initialise the netfs library context struct. This is expected to follow on

0 commit comments

Comments
 (0)