Commit 94e2959e7a6a4ef0969932c30349ce6f4469a3cf

Authored by Randy Dunlap
Committed by Linus Torvalds
1 parent 8c3659347e

fs: fix function param name in kernel-doc

Fix function parameter name in kernel-doc:

Warning(linux-2.6.28-git5//fs/block_dev.c:1272): No description found for parameter 'pathname'
Warning(linux-2.6.28-git5//fs/block_dev.c:1272): Excess function parameter 'path' description in 'lookup_bdev'

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

... ... @@ -1262,7 +1262,7 @@
1262 1262  
1263 1263 /**
1264 1264 * lookup_bdev - lookup a struct block_device by name
1265   - * @path: special file representing the block device
  1265 + * @pathname: special file representing the block device
1266 1266 *
1267 1267 * Get a reference to the blockdevice at @pathname in the current
1268 1268 * namespace if possible and return it. Return ERR_PTR(error)