Commit ce7e0a84 authored by Lee Jones's avatar Lee Jones Committed by Martin K. Petersen

scsi: qedf: Demote obvious misuse of kerneldoc to standard comment blocks

No attempt has been made to document any of the demoted functions here.

Fixes the following W=1 kernel build warning(s):

 drivers/scsi/qedf/qedf_debugfs.c:25: warning: Function parameter or member 'qedf' not described in 'qedf_dbg_host_init'
 drivers/scsi/qedf/qedf_debugfs.c:25: warning: Function parameter or member 'dops' not described in 'qedf_dbg_host_init'
 drivers/scsi/qedf/qedf_debugfs.c:25: warning: Function parameter or member 'fops' not described in 'qedf_dbg_host_init'
 drivers/scsi/qedf/qedf_debugfs.c:25: warning: Excess function parameter 'pf' description in 'qedf_dbg_host_init'
 drivers/scsi/qedf/qedf_debugfs.c:51: warning: Function parameter or member 'qedf_dbg' not described in 'qedf_dbg_host_exit'
 drivers/scsi/qedf/qedf_debugfs.c:51: warning: Excess function parameter 'pf' description in 'qedf_dbg_host_exit'
 drivers/scsi/qedf/qedf_debugfs.c:64: warning: Function parameter or member 'drv_name' not described in 'qedf_dbg_init'

Link: https://lore.kernel.org/r/20200713074645.126138-23-lee.jones@linaro.org
Cc: QLogic-Storage-Upstream@cavium.com
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent aa89d74e
...@@ -14,10 +14,9 @@ ...@@ -14,10 +14,9 @@
static struct dentry *qedf_dbg_root; static struct dentry *qedf_dbg_root;
/** /*
* qedf_dbg_host_init - setup the debugfs file for the pf * qedf_dbg_host_init - setup the debugfs file for the pf
* @pf: the pf that is starting up */
**/
void void
qedf_dbg_host_init(struct qedf_dbg_ctx *qedf, qedf_dbg_host_init(struct qedf_dbg_ctx *qedf,
const struct qedf_debugfs_ops *dops, const struct qedf_debugfs_ops *dops,
...@@ -42,10 +41,9 @@ qedf_dbg_host_init(struct qedf_dbg_ctx *qedf, ...@@ -42,10 +41,9 @@ qedf_dbg_host_init(struct qedf_dbg_ctx *qedf,
} }
} }
/** /*
* qedf_dbg_host_exit - clear out the pf's debugfs entries * qedf_dbg_host_exit - clear out the pf's debugfs entries
* @pf: the pf that is stopping */
**/
void void
qedf_dbg_host_exit(struct qedf_dbg_ctx *qedf_dbg) qedf_dbg_host_exit(struct qedf_dbg_ctx *qedf_dbg)
{ {
...@@ -56,9 +54,9 @@ qedf_dbg_host_exit(struct qedf_dbg_ctx *qedf_dbg) ...@@ -56,9 +54,9 @@ qedf_dbg_host_exit(struct qedf_dbg_ctx *qedf_dbg)
qedf_dbg->bdf_dentry = NULL; qedf_dbg->bdf_dentry = NULL;
} }
/** /*
* qedf_dbg_init - start up debugfs for the driver * qedf_dbg_init - start up debugfs for the driver
**/ */
void void
qedf_dbg_init(char *drv_name) qedf_dbg_init(char *drv_name)
{ {
...@@ -68,9 +66,9 @@ qedf_dbg_init(char *drv_name) ...@@ -68,9 +66,9 @@ qedf_dbg_init(char *drv_name)
qedf_dbg_root = debugfs_create_dir(drv_name, NULL); qedf_dbg_root = debugfs_create_dir(drv_name, NULL);
} }
/** /*
* qedf_dbg_exit - clean out the driver's debugfs entries * qedf_dbg_exit - clean out the driver's debugfs entries
**/ */
void void
qedf_dbg_exit(void) qedf_dbg_exit(void)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment