|
@@ -6421,7 +6421,7 @@ static void ipr_build_ata_ioadl64(struct ipr_cmnd *ipr_cmd,
|
|
|
{
|
|
|
u32 ioadl_flags = 0;
|
|
|
struct ipr_ioarcb *ioarcb = &ipr_cmd->ioarcb;
|
|
|
- struct ipr_ioadl64_desc *ioadl64 = ipr_cmd->i.ioadl64;
|
|
|
+ struct ipr_ioadl64_desc *ioadl64 = ipr_cmd->i.ata_ioadl.ioadl64;
|
|
|
struct ipr_ioadl64_desc *last_ioadl64 = NULL;
|
|
|
int len = qc->nbytes;
|
|
|
struct scatterlist *sg;
|
|
@@ -6441,7 +6441,7 @@ static void ipr_build_ata_ioadl64(struct ipr_cmnd *ipr_cmd,
|
|
|
ioarcb->ioadl_len =
|
|
|
cpu_to_be32(sizeof(struct ipr_ioadl64_desc) * ipr_cmd->dma_use_sg);
|
|
|
ioarcb->u.sis64_addr_data.data_ioadl_addr =
|
|
|
- cpu_to_be64(dma_addr + offsetof(struct ipr_cmnd, i.ata_ioadl));
|
|
|
+ cpu_to_be64(dma_addr + offsetof(struct ipr_cmnd, i.ata_ioadl.ioadl64));
|
|
|
|
|
|
for_each_sg(qc->sg, sg, qc->n_elem, si) {
|
|
|
ioadl64->flags = cpu_to_be32(ioadl_flags);
|