Skip to content

Commit

Permalink
[SCSI] qla4xxx: Removed packed attr from struct iscsi_chap_rec
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Vikas Chaudhary authored and James Bottomley committed Mar 27, 2012
1 parent 1a590ca commit 5a5a15f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/scsi/iscsi_if.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 5a5a15f

Please sign in to comment.