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

scsi: mpi3mr: Fix formatting problems in some kernel-doc comments

Remove some warnings found by running scripts/kernel-doc, which is caused
by using 'make W=1'.

drivers/scsi/mpi3mr/mpi3mr_fw.c:2188: warning: Function parameter or
member 'reason_code' not described in 'mpi3mr_check_rh_fault_ioc'

drivers/scsi/mpi3mr/mpi3mr_fw.c:3650: warning: Excess function parameter
'init_type' description in 'mpi3mr_init_ioc'

drivers/scsi/mpi3mr/mpi3mr_fw.c:4177: warning: bad line

Link: https://lore.kernel.org/r/20211231082350.19315-1-yang.lee@linux.alibaba.com
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>

authored by

Yang Li and committed by
Martin K. Petersen
3bb3c24e 5867b856

+2 -3
+2 -3
drivers/scsi/mpi3mr/mpi3mr_fw.c
··· 2174 2174 * mpi3mr_check_rh_fault_ioc - check reset history and fault 2175 2175 * controller 2176 2176 * @mrioc: Adapter instance reference 2177 - * @reason_code, reason code for the fault. 2177 + * @reason_code: reason code for the fault. 2178 2178 * 2179 2179 * This routine will save snapdump and fault the controller with 2180 2180 * the given reason code if it is not already in the fault or ··· 3633 3633 /** 3634 3634 * mpi3mr_init_ioc - Initialize the controller 3635 3635 * @mrioc: Adapter instance reference 3636 - * @init_type: Flag to indicate is the init_type 3637 3636 * 3638 3637 * This the controller initialization routine, executed either 3639 3638 * after soft reset or from pci probe callback. ··· 4173 4174 /** 4174 4175 * mpi3mr_cleanup_ioc - Cleanup controller 4175 4176 * @mrioc: Adapter instance reference 4176 - 4177 + * 4177 4178 * controller cleanup handler, Message unit reset or soft reset 4178 4179 * and shutdown notification is issued to the controller. 4179 4180 *