Skip to content

Commit 904fdd2

Browse files
rddunlapmartinkpetersen
authored andcommitted
scsi: mpi3mr: Fix mpi3mr_fw.c kernel-doc warnings
Use correct format for function return values. Delete blank lines that are reported as "bad line:". mpi3mr_fw.c:482: warning: No description found for return value of 'mpi3mr_get_reply_desc' mpi3mr_fw.c:1066: warning: bad line: mpi3mr_fw.c:1109: warning: bad line: mpi3mr_fw.c:1249: warning: No description found for return value of 'mpi3mr_revalidate_factsdata' Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Link: https://lore.kernel.org/r/20231221053113.32191-1-rdunlap@infradead.org Cc: Sathya Prakash Veerichetty <sathya.prakash@broadcom.com> Cc: Kashyap Desai <kashyap.desai@broadcom.com> Cc: Sumit Saxena <sumit.saxena@broadcom.com> Cc: Sreekanth Reddy <sreekanth.reddy@broadcom.com> Cc: <mpi3mr-linuxdrv.pdl@broadcom.com> Cc: James E.J. Bottomley <jejb@linux.ibm.com> Cc: Martin K. Petersen <martin.petersen@oracle.com> Cc: <linux-scsi@vger.kernel.org> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
1 parent 8c99551 commit 904fdd2

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

drivers/scsi/mpi3mr/mpi3mr_fw.c

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -475,7 +475,7 @@ int mpi3mr_process_admin_reply_q(struct mpi3mr_ioc *mrioc)
475475
* @op_reply_q: op_reply_qinfo object
476476
* @reply_ci: operational reply descriptor's queue consumer index
477477
*
478-
* Returns reply descriptor frame address
478+
* Returns: reply descriptor frame address
479479
*/
480480
static inline struct mpi3_default_reply_descriptor *
481481
mpi3mr_get_reply_desc(struct op_reply_qinfo *op_reply_q, u32 reply_ci)
@@ -1063,7 +1063,6 @@ enum mpi3mr_iocstate mpi3mr_get_iocstate(struct mpi3mr_ioc *mrioc)
10631063
* @mrioc: Adapter instance reference
10641064
*
10651065
* Free the DMA memory allocated for IOCTL handling purpose.
1066-
10671066
*
10681067
* Return: None
10691068
*/
@@ -1106,7 +1105,6 @@ static void mpi3mr_free_ioctl_dma_memory(struct mpi3mr_ioc *mrioc)
11061105
/**
11071106
* mpi3mr_alloc_ioctl_dma_memory - Alloc memory for ioctl dma
11081107
* @mrioc: Adapter instance reference
1109-
11101108
*
11111109
* This function allocates dmaable memory required to handle the
11121110
* application issued MPI3 IOCTL requests.
@@ -1241,7 +1239,7 @@ static int mpi3mr_issue_and_process_mur(struct mpi3mr_ioc *mrioc,
12411239
* during reset/resume
12421240
* @mrioc: Adapter instance reference
12431241
*
1244-
* Return zero if the new IOCFacts parameters value is compatible with
1242+
* Return: zero if the new IOCFacts parameters value is compatible with
12451243
* older values else return -EPERM
12461244
*/
12471245
static int

0 commit comments

Comments
 (0)