summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNamjae Jeon <linkinjeon@kernel.org>2026-05-01 02:34:55 +0300
committerSteve French <stfrench@microsoft.com>2026-05-02 05:49:35 +0300
commit6fd7dd4e44d7840cb1ba0c3a895e9f576af3fe5c (patch)
tree6d81e4a3b74ec975ea10ead5896bc448b1f79063
parenta74668eb2c0b866d7ac4823be6006ab2e227bc03 (diff)
downloadlinux-6fd7dd4e44d7840cb1ba0c3a895e9f576af3fe5c.tar.xz
ksmbd: fix kernel-doc warnings from ksmbd_conn_get/put()
The kernel test robot reported W=1 build warnings for ksmbd_conn_get() and ksmbd_conn_put() due to missing parameter descriptions. Add the @conn description to fix these warnings. Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Namjae Jeon <linkinjeon@kernel.org> Signed-off-by: Steve French <stfrench@microsoft.com>
-rw-r--r--fs/smb/server/connection.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/smb/server/connection.c b/fs/smb/server/connection.c
index 95654a808162..8347495dbc62 100644
--- a/fs/smb/server/connection.c
+++ b/fs/smb/server/connection.c
@@ -122,6 +122,8 @@ static void __ksmbd_conn_release_work(struct work_struct *work)
/**
* ksmbd_conn_get() - take a reference on @conn and return it.
*
+ * @conn: connection instance to get a reference to
+ *
* Returns @conn unchanged so callers can write
* "fp->conn = ksmbd_conn_get(work->conn);" in one expression. Returns NULL
* if @conn is NULL.
@@ -139,6 +141,8 @@ struct ksmbd_conn *ksmbd_conn_get(struct ksmbd_conn *conn)
* ksmbd_conn_put() - drop a reference and, if it was the last, queue the
* release onto ksmbd_conn_wq so it runs from process context.
*
+ * @conn: connection instance to put a reference to
+ *
* Callable from any context including RCU softirq callbacks and non-sleeping
* locks; the actual release is deferred to the workqueue. ksmbd_conn_wq is
* created in ksmbd_server_init() before any conn can be allocated and is