Commit 774fc4ef authored by Stefan Weinhuber's avatar Stefan Weinhuber Committed by Martin Schwidefsky

[S390] dasd eer data format.

The struct dasd_eer_header needs the packed attribute, or there will
be 6 additional bytes of random data between the fixed header and
the variable length part of the eer data.
Signed-off-by: default avatarStefan Weinhuber <wein@de.ibm.com>
Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
parent cc43ec1a
...@@ -276,7 +276,7 @@ struct dasd_eer_header { ...@@ -276,7 +276,7 @@ struct dasd_eer_header {
__u64 tv_sec; __u64 tv_sec;
__u64 tv_usec; __u64 tv_usec;
char busid[DASD_EER_BUSID_SIZE]; char busid[DASD_EER_BUSID_SIZE];
}; } __attribute__ ((packed));
/* /*
* The following function can be used for those triggers that have * The following function can be used for those triggers that have
......
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