qla_target: rearrange struct qla_tgt_prm
authorJoern Engel <joern@logfs.org>
Tue, 16 Sep 2014 20:23:19 +0000 (16:23 -0400)
committerNicholas Bellinger <nab@linux-iscsi.org>
Wed, 1 Oct 2014 21:39:30 +0000 (14:39 -0700)
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>
drivers/scsi/qla2xxx/qla_target.h

index bc1aee78d934cb5fb796e32718055a010e6b4f35..c93eeab0cfb29324a1941469f2e8e3a643bbc3cb 100644 (file)
@@ -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;
This page took 0.025995 seconds and 5 git commands to generate.