From: Vikas Chaudhary Date: Tue, 6 Mar 2012 12:16:05 +0000 (-0800) Subject: [SCSI] qla4xxx: Removed packed attr from struct iscsi_chap_rec X-Git-Tag: firefly_0821_release~3680^2~3167^2~34 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=5a5a15f2057baea9a4d282883183ceaca9c1e847;p=firefly-linux-kernel-4.4.55.git [SCSI] qla4xxx: Removed packed attr from struct iscsi_chap_rec 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 Reviewed-by: Mike Christie Signed-off-by: James Bottomley --- diff --git a/include/scsi/iscsi_if.h b/include/scsi/iscsi_if.h index eab830acf9ed..917741bb8e11 100644 --- a/include/scsi/iscsi_if.h +++ b/include/scsi/iscsi_if.h @@ -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