]> git.openfabrics.org - ~shefty/rdma-dev.git/blobdiff - drivers/scsi/qla2xxx/qla_target.c
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/nab/target...
[~shefty/rdma-dev.git] / drivers / scsi / qla2xxx / qla_target.c
index bddc97c5c8e92fdd1de11b24d9ac338653daca8e..0e09d8f433d1683e61ba61074d7c67b71919d970 100644 (file)
@@ -1403,7 +1403,7 @@ static void qlt_24xx_send_task_mgmt_ctio(struct scsi_qla_host *ha,
        ctio->u.status1.scsi_status =
            __constant_cpu_to_le16(SS_RESPONSE_INFO_LEN_VALID);
        ctio->u.status1.response_len = __constant_cpu_to_le16(8);
-       ((uint32_t *)ctio->u.status1.sense_data)[0] = cpu_to_be32(resp_code);
+       ctio->u.status1.sense_data[0] = resp_code;
 
        qla2x00_start_iocbs(ha, ha->req);
 }