Linux-Fsdevel Archive on
 help / color / Atom feed
From: Randy Dunlap <>
To: Linux FS Devel <>,
	Al Viro <>
Cc: Zach Brown <>, Andrew Morton <>
Subject: [PATCH] fs: fix direct-io.c kernel-doc warning
Date: Tue, 8 Oct 2019 13:35:44 -0700
Message-ID: <> (raw)

From: Randy Dunlap <>

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 <>
Cc: Zach Brown <>
Cc: Alexander Viro <>
 fs/direct-io.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

--- 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.

                 reply index

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Linux-Fsdevel Archive on

Archives are clonable:
	git clone --mirror linux-fsdevel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-fsdevel linux-fsdevel/ \
	public-inbox-index linux-fsdevel

Example config snippet for mirrors

Newsgroup available over NNTP:

AGPL code for this site: git clone