Use __packed instead of __attribute__((packed)).

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3500 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2011-06-01 10:40:07 +00:00
parent 6f8d4b7288
commit beeef55b6f
5 changed files with 16 additions and 12 deletions

View File

@@ -633,7 +633,7 @@ index ad178fa..1ae84db 100644
+++ b/include/scsi/srp.h
@@ -239,4 +239,42 @@ struct srp_rsp {
u8 data[0];
} __attribute__((packed));
} __packed;
+struct srp_cred_req {
+ u8 opcode;
@@ -665,7 +665,7 @@ index ad178fa..1ae84db 100644
+ __be32 sense_data_len;
+ u32 reserved3;
+ u8 sense_data[0];
+} __attribute__((packed));
+} __packed;
+
+struct srp_aer_rsp {
+ u8 opcode;