opal-prd/skiboot-5.10.2-alignment.patch

13 lines
478 B
Diff
Raw Normal View History

2018-05-15 09:38:48 +00:00
diff -up skiboot-5.10.2/hdata/i2c.c.me skiboot-5.10.2/hdata/i2c.c
--- skiboot-5.10.2/hdata/i2c.c.me 2018-05-14 12:23:30.413536519 +0200
+++ skiboot-5.10.2/hdata/i2c.c 2018-05-14 12:26:27.036752163 +0200
@@ -181,7 +181,7 @@ static bool is_zeros(const void *p, size
struct host_i2c_hdr {
const struct HDIF_array_hdr hdr;
__be32 version;
-} __packed;
2018-05-17 12:13:21 +00:00
+} __packed __align(0x4);
2018-05-15 09:38:48 +00:00
int parse_i2c_devs(const struct HDIF_common_hdr *hdr, int idata_index,
struct dt_node *xscom)