fs: fix direct-io.c kernel-doc warning
diff mbox series

Message ID 97908511-4328-4a56-17fe-f43a1d7aa470@infradead.org
State New
Headers show
  • fs: fix direct-io.c kernel-doc warning
Related show

Commit Message

Randy Dunlap Oct. 8, 2019, 8:35 p.m. UTC
From: Randy Dunlap <rdunlap@infradead.org>

Fix kernel-doc warning in fs/direct-io.c:

../fs/direct-io.c:258: warning: Excess function parameter 'offset' description in 'dio_complete'

Also, don't mark this function as having kernel-doc notation since
it is not exported.

Fixes: 6d544bb4d901 ("dio: centralize completion in dio_complete()")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Zach Brown <zab@zabbo.net>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Cc: linux-fsdevel@vger.kernel.org
 fs/direct-io.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff mbox series

--- linux-next-20191008.orig/fs/direct-io.c
+++ linux-next-20191008/fs/direct-io.c
@@ -241,9 +241,8 @@  void dio_warn_stale_pagecache(struct fil
  * dio_complete() - called when all DIO BIO I/O has been completed
- * @offset: the byte offset in the file of the completed operation
  * This drops i_dio_count, lets interested parties know that a DIO operation
  * has completed, and calculates the resulting return code for the operation.