[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: Stefan Weinhuber <wein@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
This commit is contained in:
parent
cc43ec1ab0
commit
774fc4ef71
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue