scsi: mpi3mr: fix kernel-doc issues in mpi3mr_app.c
Subsystems (2)
PATCH v2 1/1 scsi: mpi3mr: fix kernel-doc issues in mpi3mr_app.c
Fix all kernel-doc problems in mpi3mr_app.c:
mpi3mr_app.c:809: warning: Excess function parameter 'data' description in 'mpi3mr_set_trigger_data_in_hdb' mpi3mr_app.c:836: warning: Excess function parameter 'data' description in 'mpi3mr_set_trigger_data_in_all_hdb' mpi3mr_app.c:3395: warning: No description found for return value of 'sas_ncq_prio_supported_show' mpi3mr_app.c:3413: warning: No description found for return value of 'sas_ncq_prio_enable_show'
---
v2: add hash and enclose commit title in ("...") for fc4444941140.
add Damien's Reviewed-by: tag.
(Thanks, Damien.)
drivers/scsi/mpi3mr/mpi3mr_app.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-)
drivers/scsi/mpi3mr/mpi3mr_app.c +6 -4
@@ -795,9 +795,8 @@ void mpi3mr_release_diag_bufs(struct mpi* * @hdb: HDB pointer * @type: Trigger type -* @data: Trigger data -* @force: Trigger overwrite flag * @trigger_data: Pointer to trigger data information +* @force: Trigger overwrite flag * * Updates trigger type and trigger data based on parameter * passed to this function
@@ -822,9 +821,8 @@ void mpi3mr_set_trigger_data_in_hdb(stru* * @mrioc: Adapter instance reference * @type: Trigger type -* @data: Trigger data -* @force: Trigger overwrite flag * @trigger_data: Pointer to trigger data information +* @force: Trigger overwrite flag * * Updates trigger type and trigger data based on parameter * passed to this function
@@ -3388,6 +3386,8 @@ static DEVICE_ATTR_RO(persistent_id);* @buf: the buffer returned * * A sysfs 'read-only' sdev attribute, only works with SATA devices +* +* Returns: the number of characters written to @buf */ static ssize_t sas_ncq_prio_supported_show(struct device *dev,
@@ -3406,6 +3406,8 @@ static DEVICE_ATTR_RO(sas_ncq_prio_suppo* @buf: the buffer returned * * A sysfs 'read/write' sdev attribute, only works with SATA devices +* +* Returns: the number of characters written to @buf */ static ssize_t sas_ncq_prio_enable_show(struct device *dev,
Martin K. Petersen
AppliedRandy,
Quoted 1 line
Fix all kernel-doc problems in
mpi3mr_app.c:
Applied to 6.17/scsi-staging, thanks!
Signature · 1 line
Martin K. Petersen
Martin K. Petersen
AppliedQuoted 8 lines · Randy Dunlap
Fix all kernel-doc problems in
mpi3mr_app.c:mpi3mr_app.c:809: warning: Excess function parameter 'data' description in '
mpi3mr_set_trigger_data_in_hdb' mpi3mr_app.c:836: warning: Excess function parameter 'data' description in 'mpi3mr_set_trigger_data_in_all_hdb' mpi3mr_app.c:3395: warning: No description found for return value of 'sas_ncq_prio_supported_show' mpi3mr_app.c:3413: warning: No description found for return value of 'sas_ncq_prio_enable_show'[...]
Applied to 6.17/scsi-queue, thanks!
[1/1] scsi: mpi3mr: fix kernel-doc issues in mpi3mr_app.c
https://git.kernel.org/mkp/scsi/c/ed575d4bca6a
Signature · 1 line
Martin K. Petersen Oracle Linux Engineering