Commit 7337891f authored by Martin Peschke's avatar Martin Peschke Committed by James Bottomley

[SCSI] zfcp: remove some __attribute__ ((packed))

There is no need to pack data structures which describe the
contents of records in the new recovery trace.

lcrash currently depends on the binary format for the other traces,
removing the packed attribute from all traces would break trace
debugging with lcrash.
Signed-off-by: default avatarMartin Peschke <mp3@de.ibm.com>
Signed-off-by: default avatarChristof Schmitt <christof.schmitt@de.ibm.com>
Signed-off-by: default avatarJames Bottomley <James.Bottomley@HansenPartnership.com>
parent 70c66540
...@@ -38,7 +38,7 @@ struct zfcp_rec_dbf_record_thread { ...@@ -38,7 +38,7 @@ struct zfcp_rec_dbf_record_thread {
u32 total; u32 total;
u32 ready; u32 ready;
u32 running; u32 running;
} __attribute__ ((packed)); };
struct zfcp_rec_dbf_record_target { struct zfcp_rec_dbf_record_target {
u64 ref; u64 ref;
...@@ -47,7 +47,7 @@ struct zfcp_rec_dbf_record_target { ...@@ -47,7 +47,7 @@ struct zfcp_rec_dbf_record_target {
u64 wwpn; u64 wwpn;
u64 fcp_lun; u64 fcp_lun;
u32 erp_count; u32 erp_count;
} __attribute__ ((packed)); };
struct zfcp_rec_dbf_record_trigger { struct zfcp_rec_dbf_record_trigger {
u8 want; u8 want;
...@@ -59,14 +59,14 @@ struct zfcp_rec_dbf_record_trigger { ...@@ -59,14 +59,14 @@ struct zfcp_rec_dbf_record_trigger {
u64 action; u64 action;
u64 wwpn; u64 wwpn;
u64 fcp_lun; u64 fcp_lun;
} __attribute__ ((packed)); };
struct zfcp_rec_dbf_record_action { struct zfcp_rec_dbf_record_action {
u32 status; u32 status;
u32 step; u32 step;
u64 action; u64 action;
u64 fsf_req; u64 fsf_req;
} __attribute__ ((packed)); };
struct zfcp_rec_dbf_record { struct zfcp_rec_dbf_record {
u8 id; u8 id;
...@@ -77,7 +77,7 @@ struct zfcp_rec_dbf_record { ...@@ -77,7 +77,7 @@ struct zfcp_rec_dbf_record {
struct zfcp_rec_dbf_record_target target; struct zfcp_rec_dbf_record_target target;
struct zfcp_rec_dbf_record_trigger trigger; struct zfcp_rec_dbf_record_trigger trigger;
} u; } u;
} __attribute__ ((packed)); };
enum { enum {
ZFCP_REC_DBF_ID_ACTION, ZFCP_REC_DBF_ID_ACTION,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment