mirror of
https://github.com/edk2-porting/linux-next.git
synced 2025-01-19 19:14:01 +08:00
scsi: aacraid: Fix a couple of small kerneldoc issues
Most likely caused by bitrot (docs not keeping in sync with API). Fixes the following W=1 kernel build warning(s): drivers/scsi/aacraid/linit.c: In function ‘aac_biosparm’: drivers/scsi/aacraid/linit.c:368:41: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] drivers/scsi/aacraid/linit.c:243: warning: Function parameter or member 'shost' not described in 'aac_queuecommand' drivers/scsi/aacraid/linit.c:243: warning: Excess function parameter 'done' description in 'aac_queuecommand' drivers/scsi/aacraid/linit.c:1176: warning: Excess function parameter 'inode' description in 'aac_cfg_ioctl' Link: https://lore.kernel.org/r/20200713074645.126138-25-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
8558d5a4f3
commit
00a72e8cd2
@ -230,8 +230,8 @@ static struct aac_driver_ident aac_drivers[] = {
|
||||
|
||||
/**
|
||||
* aac_queuecommand - queue a SCSI command
|
||||
* @shost: Scsi host to queue command on
|
||||
* @cmd: SCSI command to queue
|
||||
* @done: Function to call on command completion
|
||||
*
|
||||
* Queues a command for execution by the associated Host Adapter.
|
||||
*
|
||||
@ -1160,7 +1160,6 @@ static int aac_cfg_open(struct inode *inode, struct file *file)
|
||||
|
||||
/**
|
||||
* aac_cfg_ioctl - AAC configuration request
|
||||
* @inode: inode of device
|
||||
* @file: file handle
|
||||
* @cmd: ioctl command code
|
||||
* @arg: argument
|
||||
|
Loading…
Reference in New Issue
Block a user