]> git.baikalelectronics.ru Git - kernel.git/commit
netfs: fix up netfs_inode_init() docbook comment
authorLinus Torvalds <torvalds@linux-foundation.org>
Tue, 14 Jun 2022 17:36:11 +0000 (10:36 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 14 Jun 2022 17:36:11 +0000 (10:36 -0700)
commite3f2a6843cffbb050fa9c3440016f1e771a99f36
tree451267ac2abc2e87de5812deb1df344e53f6c828
parent2ca9061d401de99f2e4824110fd78f450e3e0bc3
netfs: fix up netfs_inode_init() docbook comment

Commit 696e788e34d5 ("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: 696e788e34d5 ("netfs: Further cleanups after struct netfs_inode wrapper introduced")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/netfs.h