summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorJiapeng Chong <jiapeng.chong@linux.alibaba.com>2022-05-25 17:35:14 +0800
committerMartin K. Petersen <martin.petersen@oracle.com>2022-06-01 22:43:26 -0400
commit1fcbe4c490396c5a0d4588cfb84923ad6076b62a (patch)
treebcad6a2c604ceea837717bd3ec1a5e5660099036 /drivers
parenta5b168efba215229465d9a1a0e77b83073c7bfd0 (diff)
downloadlinux-stable-1fcbe4c490396c5a0d4588cfb84923ad6076b62a.tar.gz
linux-stable-1fcbe4c490396c5a0d4588cfb84923ad6076b62a.tar.bz2
linux-stable-1fcbe4c490396c5a0d4588cfb84923ad6076b62a.zip
scsi: mpi3mr: Fix kernel-doc
Fix the following W=1 kernel warnings: drivers/scsi/mpi3mr/mpi3mr_app.c:1706: warning: expecting prototype for adapter_state_show(). Prototype was for adp_state_show() instead. Link: https://lore.kernel.org/r/20220525093514.55467-1-jiapeng.chong@linux.alibaba.com Reported-by: Abaci Robot <abaci@linux.alibaba.com> Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/scsi/mpi3mr/mpi3mr_app.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/mpi3mr/mpi3mr_app.c b/drivers/scsi/mpi3mr/mpi3mr_app.c
index 29ed64a572ea..9baac224b213 100644
--- a/drivers/scsi/mpi3mr/mpi3mr_app.c
+++ b/drivers/scsi/mpi3mr/mpi3mr_app.c
@@ -1689,7 +1689,7 @@ logging_level_store(struct device *dev,
static DEVICE_ATTR_RW(logging_level);
/**
- * adapter_state_show - SysFS callback for adapter state show
+ * adp_state_show() - SysFS callback for adapter state show
* @dev: class device
* @attr: Device attributes
* @buf: Buffer to copy