diff options
author | Jiapeng Chong <jiapeng.chong@linux.alibaba.com> | 2022-05-25 11:35:14 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2022-06-02 04:43:26 +0200 |
commit | 1fcbe4c490396c5a0d4588cfb84923ad6076b62a (patch) | |
tree | bcad6a2c604ceea837717bd3ec1a5e5660099036 /drivers/scsi | |
parent | scsi: lpfc: Add support for ATTO Fibre Channel devices (diff) | |
download | linux-1fcbe4c490396c5a0d4588cfb84923ad6076b62a.tar.xz linux-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/scsi')
-rw-r--r-- | drivers/scsi/mpi3mr/mpi3mr_app.c | 2 |
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 |