]> Git Repo - linux.git/commitdiff
scsi: pm8001: Fix warning for undescribed param in process_one_iomb()
authorJohn Garry <[email protected]>
Thu, 27 Jan 2022 13:12:50 +0000 (21:12 +0800)
committerMartin K. Petersen <[email protected]>
Mon, 31 Jan 2022 21:40:07 +0000 (16:40 -0500)
make W=1 complains of an undescribed function parameter:

drivers/scsi/pm8001/pm80xx_hwi.c:3938: warning: Function parameter or member 'circularQ' not described in 'process_one_iomb'

Fix it.

Link: https://lore.kernel.org/r/[email protected]
Reported-by: Damien Le Moal <[email protected]>
Reviewed-by: Damien Le Moal <[email protected]>
Acked-by: Jack Wang <[email protected]>
Signed-off-by: John Garry <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
drivers/scsi/pm8001/pm80xx_hwi.c

index c350d2017aa42a40d6f9faeae36c5b83695d5ccd..b7ab643ef014ed50fd31b6c7fd63fcdbe6438c2e 100644 (file)
@@ -3905,6 +3905,7 @@ static int ssp_coalesced_comp_resp(struct pm8001_hba_info *pm8001_ha,
 /**
  * process_one_iomb - process one outbound Queue memory block
  * @pm8001_ha: our hba card information
+ * @circularQ: outbound circular queue
  * @piomb: IO message buffer
  */
 static void process_one_iomb(struct pm8001_hba_info *pm8001_ha,
This page took 0.0650579999999999 seconds and 4 git commands to generate.