Skip to content

Commit 3bb3c24

Browse files
Yang Limartinkpetersen
authored andcommitted
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>
1 parent 5867b85 commit 3bb3c24

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

drivers/scsi/mpi3mr/mpi3mr_fw.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2174,7 +2174,7 @@ int mpi3mr_op_request_post(struct mpi3mr_ioc *mrioc,
21742174
* mpi3mr_check_rh_fault_ioc - check reset history and fault
21752175
* controller
21762176
* @mrioc: Adapter instance reference
2177-
* @reason_code, reason code for the fault.
2177+
* @reason_code: reason code for the fault.
21782178
*
21792179
* This routine will save snapdump and fault the controller with
21802180
* the given reason code if it is not already in the fault or
@@ -3633,7 +3633,6 @@ static int mpi3mr_enable_events(struct mpi3mr_ioc *mrioc)
36333633
/**
36343634
* mpi3mr_init_ioc - Initialize the controller
36353635
* @mrioc: Adapter instance reference
3636-
* @init_type: Flag to indicate is the init_type
36373636
*
36383637
* This the controller initialization routine, executed either
36393638
* after soft reset or from pci probe callback.
@@ -4174,7 +4173,7 @@ static void mpi3mr_issue_ioc_shutdown(struct mpi3mr_ioc *mrioc)
41744173
/**
41754174
* mpi3mr_cleanup_ioc - Cleanup controller
41764175
* @mrioc: Adapter instance reference
4177-
4176+
*
41784177
* controller cleanup handler, Message unit reset or soft reset
41794178
* and shutdown notification is issued to the controller.
41804179
*

0 commit comments

Comments
 (0)