[SCSI] qla4xxx: Removed packed attr from struct iscsi_chap_rec
Vikas Chaudhary [Tue, 6 Mar 2012 12:16:05 +0000 (04:16 -0800)]
We don't need to pack 'struct iscsi_chap_rec' as buffer is built
locally in the driver and pass to the user-space.

Signed-off-by: Vikas Chaudhary <vikas.chaudhary@qlogic.com>
Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>

include/scsi/iscsi_if.h

index eab830a..917741b 100644 (file)
@@ -593,6 +593,6 @@ struct iscsi_chap_rec {
        char username[ISCSI_CHAP_AUTH_NAME_MAX_LEN];
        uint8_t password[ISCSI_CHAP_AUTH_SECRET_MAX_LEN];
        uint8_t password_length;
-} __packed;
+};
 
 #endif