summaryrefslogtreecommitdiff
path: root/drivers/scsi/qla2xxx/qla_target.h
diff options
context:
space:
mode:
authorJoern Engel <joern@logfs.org>2014-09-17 00:23:19 +0400
committerNicholas Bellinger <nab@linux-iscsi.org>2014-10-02 01:39:30 +0400
commitdb3a99b9921f27fe71ca8c0f218ee810e0e7fb69 (patch)
treee9e67884dc2b8ed53c494b659b229ee64c2d372d /drivers/scsi/qla2xxx/qla_target.h
parentf9b6721a9cef94908467abf7a2cacbd15a7d23cb (diff)
downloadlinux-db3a99b9921f27fe71ca8c0f218ee810e0e7fb69.tar.xz
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/qla2xxx/qla_target.h')
-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 {
struct qla_tgt *tgt;
void *pkt;
struct scatterlist *sg; /* cmd data buffer SG vector */
+ unsigned char *sense_buffer;
int seg_cnt;
int req_cnt;
uint16_t rq_result;
uint16_t scsi_status;
- unsigned char *sense_buffer;
int sense_buffer_len;
int residual;
int add_status_pkt;