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: MMI-PSA29.97-13-9~17088^2~34 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5a5a15f2057baea9a4d282883183ceaca9c1e847;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.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