diff options
author | Vikas Chaudhary <vikas.chaudhary@qlogic.com> | 2012-03-06 07:16:05 -0500 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2012-03-27 03:26:35 -0400 |
commit | 5a5a15f2057baea9a4d282883183ceaca9c1e847 (patch) | |
tree | 9e28d0f73e1e30aad759dee70deeac44c1d3136a | |
parent | 1a590cabc272d62ffca1427d3010aea2098f414f (diff) |
[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 <vikas.chaudhary@qlogic.com>
Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
-rw-r--r-- | include/scsi/iscsi_if.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 { | |||
593 | char username[ISCSI_CHAP_AUTH_NAME_MAX_LEN]; | 593 | char username[ISCSI_CHAP_AUTH_NAME_MAX_LEN]; |
594 | uint8_t password[ISCSI_CHAP_AUTH_SECRET_MAX_LEN]; | 594 | uint8_t password[ISCSI_CHAP_AUTH_SECRET_MAX_LEN]; |
595 | uint8_t password_length; | 595 | uint8_t password_length; |
596 | } __packed; | 596 | }; |
597 | 597 | ||
598 | #endif | 598 | #endif |