Commit 904fdd20 authored by Randy Dunlap's avatar Randy Dunlap Committed by Martin K. Petersen

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: default avatarRandy 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: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent 8c995510
...@@ -475,7 +475,7 @@ int mpi3mr_process_admin_reply_q(struct mpi3mr_ioc *mrioc) ...@@ -475,7 +475,7 @@ int mpi3mr_process_admin_reply_q(struct mpi3mr_ioc *mrioc)
* @op_reply_q: op_reply_qinfo object * @op_reply_q: op_reply_qinfo object
* @reply_ci: operational reply descriptor's queue consumer index * @reply_ci: operational reply descriptor's queue consumer index
* *
* Returns reply descriptor frame address * Returns: reply descriptor frame address
*/ */
static inline struct mpi3_default_reply_descriptor * static inline struct mpi3_default_reply_descriptor *
mpi3mr_get_reply_desc(struct op_reply_qinfo *op_reply_q, u32 reply_ci) 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) ...@@ -1063,7 +1063,6 @@ enum mpi3mr_iocstate mpi3mr_get_iocstate(struct mpi3mr_ioc *mrioc)
* @mrioc: Adapter instance reference * @mrioc: Adapter instance reference
* *
* Free the DMA memory allocated for IOCTL handling purpose. * Free the DMA memory allocated for IOCTL handling purpose.
* *
* Return: None * Return: None
*/ */
...@@ -1106,7 +1105,6 @@ static void mpi3mr_free_ioctl_dma_memory(struct mpi3mr_ioc *mrioc) ...@@ -1106,7 +1105,6 @@ static void mpi3mr_free_ioctl_dma_memory(struct mpi3mr_ioc *mrioc)
/** /**
* mpi3mr_alloc_ioctl_dma_memory - Alloc memory for ioctl dma * mpi3mr_alloc_ioctl_dma_memory - Alloc memory for ioctl dma
* @mrioc: Adapter instance reference * @mrioc: Adapter instance reference
* *
* This function allocates dmaable memory required to handle the * This function allocates dmaable memory required to handle the
* application issued MPI3 IOCTL requests. * application issued MPI3 IOCTL requests.
...@@ -1241,7 +1239,7 @@ static int mpi3mr_issue_and_process_mur(struct mpi3mr_ioc *mrioc, ...@@ -1241,7 +1239,7 @@ static int mpi3mr_issue_and_process_mur(struct mpi3mr_ioc *mrioc,
* during reset/resume * during reset/resume
* @mrioc: Adapter instance reference * @mrioc: Adapter instance reference
* *
* Return zero if the new IOCFacts parameters value is compatible with * Return: zero if the new IOCFacts parameters value is compatible with
* older values else return -EPERM * older values else return -EPERM
*/ */
static int static int
......
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