Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

scsi: pm8001: Fix warning for undescribed param in process_one_iomb()

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/1643289172-165636-2-git-send-email-john.garry@huawei.com
Reported-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Reviewed-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Acked-by: Jack Wang <jinpu.wang@ionos.com>
Signed-off-by: John Garry <john.garry@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>

authored by

John Garry and committed by
Martin K. Petersen
0aed75fd edb854a3

+1
+1
drivers/scsi/pm8001/pm80xx_hwi.c
··· 3905 3905 /** 3906 3906 * process_one_iomb - process one outbound Queue memory block 3907 3907 * @pm8001_ha: our hba card information 3908 + * @circularQ: outbound circular queue 3908 3909 * @piomb: IO message buffer 3909 3910 */ 3910 3911 static void process_one_iomb(struct pm8001_hba_info *pm8001_ha,