Skip to content

Commit

Permalink
[S390] dasd eer data format.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Stefan Weinhuber authored and Martin Schwidefsky committed Jun 29, 2006
1 parent cc43ec1 commit 774fc4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/s390/block/dasd_eer.c
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ struct dasd_eer_header {
__u64 tv_sec;
__u64 tv_usec;
char busid[DASD_EER_BUSID_SIZE];
};
} __attribute__ ((packed));

/*
* The following function can be used for those triggers that have
Expand Down

0 comments on commit 774fc4e

Please sign in to comment.