summaryrefslogtreecommitdiff
path: root/drivers/scsi/isci/probe_roms.c
diff options
context:
space:
mode:
authorJames Bottomley <James.Bottomley@HansenPartnership.com>2011-07-03 23:14:45 +0400
committerJames Bottomley <JBottomley@Parallels.com>2011-07-03 23:26:24 +0400
commita5ec7f86dc5432c44d8407a144e7617ec65da770 (patch)
tree9fdbe6b2d5784a68bb350d69eb83ae0e3cb45c90 /drivers/scsi/isci/probe_roms.c
parent5b45b69c0573b802a50ccad30e154b93d3b36ff8 (diff)
downloadlinux-a5ec7f86dc5432c44d8407a144e7617ec65da770.tar.xz
[SCSI] isci: fix checkpatch errors
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/isci/probe_roms.c')
-rw-r--r--drivers/scsi/isci/probe_roms.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/scsi/isci/probe_roms.c b/drivers/scsi/isci/probe_roms.c
index 4b9d813c63b1..b5f4341de243 100644
--- a/drivers/scsi/isci/probe_roms.c
+++ b/drivers/scsi/isci/probe_roms.c
@@ -34,8 +34,9 @@
#include "task.h"
#include "probe_roms.h"
-static efi_char16_t isci_efivar_name[] =
- {'R', 's', 't', 'S', 'c', 'u', 'O'};
+static efi_char16_t isci_efivar_name[] = {
+ 'R', 's', 't', 'S', 'c', 'u', 'O'
+};
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;
u8 *tmp, sum;
int j;
- ssize_t data_len;
+ unsigned long data_len;
u8 *efi_data;
u32 efi_attrib = 0;