From: Yang Li <yang.lee@linux.alibaba.com>
To: rpeterso@redhat.com
Cc: agruenba@redhat.com, cluster-devel@redhat.com,
linux-kernel@vger.kernel.org,
Yang Li <yang.lee@linux.alibaba.com>,
Abaci Robot <abaci@linux.alibaba.com>
Subject: [PATCH -next] gfs2: Fix __gfs2_holder_init() kernel-doc comment
Date: Fri, 31 Dec 2021 12:20:51 +0800 [thread overview]
Message-ID: <20211231042051.21736-1-yang.lee@linux.alibaba.com> (raw)
Add the description of @ip to remove warning found
by running scripts/kernel-doc, which is caused by
using 'make W=1'.
fs/gfs2/glock.c:1258: warning: Function parameter or member 'ip' not
described in '__gfs2_holder_init'
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
---
fs/gfs2/glock.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/fs/gfs2/glock.c b/fs/gfs2/glock.c
index b7ab8430333c..2f3f91e518de 100644
--- a/fs/gfs2/glock.c
+++ b/fs/gfs2/glock.c
@@ -1250,6 +1250,9 @@ int gfs2_glock_get(struct gfs2_sbd *sdp, u64 number,
* @state: the state we're requesting
* @flags: the modifier flags
* @gh: the holder structure
+ * @ip: Get the return address of the current function, that is, the function
+ * is called by another function, and then when the function is finished,
+ * the return address is the address at that time.
*
*/
--
2.20.1.7.g153144c
reply other threads:[~2021-12-31 4:34 UTC|newest]
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:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20211231042051.21736-1-yang.lee@linux.alibaba.com \
--to=yang.lee@linux.alibaba.com \
--cc=abaci@linux.alibaba.com \
--cc=agruenba@redhat.com \
--cc=cluster-devel@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=rpeterso@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®