]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
qla4xxx: Removed packed attr from struct iscsi_chap_rec
authorVikas Chaudhary <vikas.chaudhary@qlogic.com>
Tue, 6 Mar 2012 03:28:32 +0000 (22:28 -0500)
committerMaxim Uvarov <maxim.uvarov@oracle.com>
Mon, 12 Nov 2012 10:51:18 +0000 (02:51 -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>
include/scsi/iscsi_if.h

index eab830acf9ed1f4cb5164759845908d321e777cd..917741bb8e11d18b1dc7c88ddbbadc850029223e 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