forked from luck/tmp_suning_uos_patched
scsi: aacraid: Add descriptions for missing parameters
Fixes the following W=1 kernel build warning(s): drivers/scsi/aacraid/src.c:203: warning: Function parameter or member 'p2' not described in 'src_sync_cmd' drivers/scsi/aacraid/src.c:203: warning: Function parameter or member 'p3' not described in 'src_sync_cmd' drivers/scsi/aacraid/src.c:203: warning: Function parameter or member 'p4' not described in 'src_sync_cmd' drivers/scsi/aacraid/src.c:203: warning: Function parameter or member 'p5' not described in 'src_sync_cmd' drivers/scsi/aacraid/src.c:203: warning: Function parameter or member 'p6' not described in 'src_sync_cmd' drivers/scsi/aacraid/src.c:203: warning: Function parameter or member 'status' not described in 'src_sync_cmd' drivers/scsi/aacraid/src.c:203: warning: Function parameter or member 'r1' not described in 'src_sync_cmd' drivers/scsi/aacraid/src.c:203: warning: Function parameter or member 'r2' not described in 'src_sync_cmd' drivers/scsi/aacraid/src.c:203: warning: Function parameter or member 'r3' not described in 'src_sync_cmd' drivers/scsi/aacraid/src.c:203: warning: Function parameter or member 'r4' not described in 'src_sync_cmd' drivers/scsi/aacraid/src.c:203: warning: Excess function parameter 'ret' description in 'src_sync_cmd' drivers/scsi/aacraid/src.c:609: warning: Function parameter or member 'dev' not described in 'aac_src_ioremap' drivers/scsi/aacraid/src.c:639: warning: Function parameter or member 'dev' not described in 'aac_srcv_ioremap' Link: https://lore.kernel.org/r/20200721164148.2617584-8-lee.jones@linaro.org Cc: Adaptec OEM Raid Solutions <aacraid@microsemi.com> Cc: "PMC-Sierra, Inc" <aacraid@pmc-sierra.com> Signed-off-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
parent
ee37a6e6d2
commit
a13689118f
|
@ -191,7 +191,16 @@ static void aac_src_enable_interrupt_message(struct aac_dev *dev)
|
|||
* @dev: Adapter
|
||||
* @command: Command to execute
|
||||
* @p1: first parameter
|
||||
* @ret: adapter status
|
||||
* @p2: second parameter
|
||||
* @p3: third parameter
|
||||
* @p4: forth parameter
|
||||
* @p5: fifth parameter
|
||||
* @p6: sixth parameter
|
||||
* @status: adapter status
|
||||
* @r1: first return value
|
||||
* @r2: second return valu
|
||||
* @r3: third return value
|
||||
* @r4: forth return value
|
||||
*
|
||||
* This routine will send a synchronous command to the adapter and wait
|
||||
* for its completion.
|
||||
|
@ -602,6 +611,7 @@ static int aac_src_deliver_message(struct fib *fib)
|
|||
|
||||
/**
|
||||
* aac_src_ioremap
|
||||
* @dev: device ioremap
|
||||
* @size: mapping resize request
|
||||
*
|
||||
*/
|
||||
|
@ -632,6 +642,7 @@ static int aac_src_ioremap(struct aac_dev *dev, u32 size)
|
|||
|
||||
/**
|
||||
* aac_srcv_ioremap
|
||||
* @dev: device ioremap
|
||||
* @size: mapping resize request
|
||||
*
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue
Block a user