summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/ipr.h
diff options
context:
space:
mode:
authorwenxiong@linux.vnet.ibm.com <wenxiong@linux.vnet.ibm.com>2013-04-19 04:32:48 +0200
committerJames Bottomley <JBottomley@Parallels.com>2013-05-03 00:35:15 +0200
commit1ac7c26d88bc0e256ecd269e6f90c7343c359004 (patch)
treec60471223b566b68a9b7abcddb6df192f4bbfd0a /drivers/scsi/ipr.h
parent[SCSI] scsi_transport_iscsi: fix error return code in iscsi_transport_init() (diff)
downloadlinux-1ac7c26d88bc0e256ecd269e6f90c7343c359004.tar.xz
linux-1ac7c26d88bc0e256ecd269e6f90c7343c359004.zip
[SCSI] ipr: SATA DVD probing failed with 64bit adapter
Driver passed the wrong IOADL address to IOA adapter. The patch fixes the issue. Signed-off-by: Wen Xiong <wenxiong@linux.vnet.ibm.com> Acked-by: Brian King <brking@linux.vnet.ibm.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/ipr.h')
-rw-r--r--drivers/scsi/ipr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/ipr.h b/drivers/scsi/ipr.h
index 21a6ff1ed5c6..a1fb840596ef 100644
--- a/drivers/scsi/ipr.h
+++ b/drivers/scsi/ipr.h
@@ -552,7 +552,7 @@ struct ipr_ioarcb_ata_regs { /* 22 bytes */
u8 hob_lbam;
u8 hob_lbah;
u8 ctl;
-}__attribute__ ((packed, aligned(4)));
+}__attribute__ ((packed, aligned(2)));
struct ipr_ioadl_desc {
__be32 flags_and_data_len;