aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi
diff options
context:
space:
mode:
authorJoern Engel <joern@logfs.org>2014-09-16 16:23:19 -0400
committerNicholas Bellinger <nab@linux-iscsi.org>2014-10-01 17:39:30 -0400
commitdb3a99b9921f27fe71ca8c0f218ee810e0e7fb69 (patch)
treee9e67884dc2b8ed53c494b659b229ee64c2d372d /drivers/scsi
parentf9b6721a9cef94908467abf7a2cacbd15a7d23cb (diff)
qla_target: rearrange struct qla_tgt_prm
On most (non-x86) 64bit platforms this will remove 8 padding bytes from the structure. Signed-off-by: Joern Engel <joern@logfs.org> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/scsi')
-rw-r--r--drivers/scsi/qla2xxx/qla_target.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/qla2xxx/qla_target.h b/drivers/scsi/qla2xxx/qla_target.h
index bc1aee78d934..c93eeab0cfb2 100644
--- a/drivers/scsi/qla2xxx/qla_target.h
+++ b/drivers/scsi/qla2xxx/qla_target.h
@@ -971,11 +971,11 @@ struct qla_tgt_prm {
971 struct qla_tgt *tgt; 971 struct qla_tgt *tgt;
972 void *pkt; 972 void *pkt;
973 struct scatterlist *sg; /* cmd data buffer SG vector */ 973 struct scatterlist *sg; /* cmd data buffer SG vector */
974 unsigned char *sense_buffer;
974 int seg_cnt; 975 int seg_cnt;
975 int req_cnt; 976 int req_cnt;
976 uint16_t rq_result; 977 uint16_t rq_result;
977 uint16_t scsi_status; 978 uint16_t scsi_status;
978 unsigned char *sense_buffer;
979 int sense_buffer_len; 979 int sense_buffer_len;
980 int residual; 980 int residual;
981 int add_status_pkt; 981 int add_status_pkt;