[SCSI] isci: fix checkpatch errors
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
This commit is contained in:

committed by
James Bottomley

parent
5b45b69c05
commit
a5ec7f86dc
@@ -34,8 +34,9 @@
|
|||||||
#include "task.h"
|
#include "task.h"
|
||||||
#include "probe_roms.h"
|
#include "probe_roms.h"
|
||||||
|
|
||||||
static efi_char16_t isci_efivar_name[] =
|
static efi_char16_t isci_efivar_name[] = {
|
||||||
{'R', 's', 't', 'S', 'c', 'u', 'O'};
|
'R', 's', 't', 'S', 'c', 'u', 'O'
|
||||||
|
};
|
||||||
|
|
||||||
struct isci_orom *isci_request_oprom(struct pci_dev *pdev)
|
struct isci_orom *isci_request_oprom(struct pci_dev *pdev)
|
||||||
{
|
{
|
||||||
@@ -182,7 +183,7 @@ struct isci_orom *isci_get_efi_var(struct pci_dev *pdev)
|
|||||||
struct isci_oem_hdr *oem_hdr;
|
struct isci_oem_hdr *oem_hdr;
|
||||||
u8 *tmp, sum;
|
u8 *tmp, sum;
|
||||||
int j;
|
int j;
|
||||||
ssize_t data_len;
|
unsigned long data_len;
|
||||||
u8 *efi_data;
|
u8 *efi_data;
|
||||||
u32 efi_attrib = 0;
|
u32 efi_attrib = 0;
|
||||||
|
|
||||||
|
@@ -101,7 +101,8 @@ static void isci_task_refuse(struct isci_host *ihost, struct sas_task *task,
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case isci_perform_aborted_io_completion:
|
case isci_perform_aborted_io_completion:
|
||||||
/* No notification because this request is already in the
|
/*
|
||||||
|
* No notification because this request is already in the
|
||||||
* abort path.
|
* abort path.
|
||||||
*/
|
*/
|
||||||
dev_dbg(&ihost->pdev->dev,
|
dev_dbg(&ihost->pdev->dev,
|
||||||
@@ -1115,9 +1116,9 @@ int isci_task_abort_task(struct sas_task *task)
|
|||||||
__func__, task);
|
__func__, task);
|
||||||
}
|
}
|
||||||
goto out;
|
goto out;
|
||||||
}
|
} else {
|
||||||
else
|
|
||||||
spin_unlock_irqrestore(&task->task_state_lock, flags);
|
spin_unlock_irqrestore(&task->task_state_lock, flags);
|
||||||
|
}
|
||||||
|
|
||||||
spin_lock_irqsave(&isci_host->scic_lock, flags);
|
spin_lock_irqsave(&isci_host->scic_lock, flags);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user