[S390] cio: declare hardware structures packed.
Signed-off-by: Peter Oberparleiter <peter.oberparleiter@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
This commit is contained in:

committed by
Martin Schwidefsky

parent
9b241cc862
commit
0f008aa300
@@ -10,17 +10,17 @@
|
||||
struct chsc_header {
|
||||
u16 length;
|
||||
u16 code;
|
||||
};
|
||||
} __attribute__ ((packed));
|
||||
|
||||
#define NR_MEASUREMENT_CHARS 5
|
||||
struct cmg_chars {
|
||||
u32 values[NR_MEASUREMENT_CHARS];
|
||||
};
|
||||
} __attribute__ ((packed));
|
||||
|
||||
#define NR_MEASUREMENT_ENTRIES 8
|
||||
struct cmg_entry {
|
||||
u32 values[NR_MEASUREMENT_ENTRIES];
|
||||
};
|
||||
} __attribute__ ((packed));
|
||||
|
||||
struct channel_path_desc {
|
||||
u8 flags;
|
||||
@@ -31,7 +31,7 @@ struct channel_path_desc {
|
||||
u8 zeroes;
|
||||
u8 chla;
|
||||
u8 chpp;
|
||||
};
|
||||
} __attribute__ ((packed));
|
||||
|
||||
struct channel_path {
|
||||
int id;
|
||||
|
Reference in New Issue
Block a user