projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a590ca
)
[SCSI] qla4xxx: Removed packed attr from struct iscsi_chap_rec
author
Vikas Chaudhary
<vikas.chaudhary@qlogic.com>
Tue, 6 Mar 2012 12:16:05 +0000
(
04:16
-0800)
committer
James Bottomley
<JBottomley@Parallels.com>
Tue, 27 Mar 2012 07:26:35 +0000
(08:26 +0100)
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>
include/scsi/iscsi_if.h
patch
|
blob
|
history
diff --git
a/include/scsi/iscsi_if.h
b/include/scsi/iscsi_if.h
index eab830acf9ed1f4cb5164759845908d321e777cd..917741bb8e11d18b1dc7c88ddbbadc850029223e 100644
(file)
--- 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