linux/drivers/soc/fsl
Arnd Bergmann 040f31196e soc/fsl: qbman: fix conflicting alignment attributes
When building with W=1, gcc points out that the __packed attribute
on struct qm_eqcr_entry conflicts with the 8-byte alignment
attribute on struct qm_fd inside it:

drivers/soc/fsl/qbman/qman.c:189:1: error: alignment 1 of 'struct qm_eqcr_entry' is less than 8 [-Werror=packed-not-aligned]

I assume that the alignment attribute is the correct one, and
that qm_eqcr_entry cannot actually be unaligned in memory,
so add the same alignment on the outer struct.

Fixes: c535e923bb ("soc/fsl: Introduce DPAA 1.x QMan device driver")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20210323131530.2619900-1-arnd@kernel.org'
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2021-04-01 16:32:37 +02:00
..
dpio ARM: SoC drivers for v5.11 2020-12-16 16:38:41 -08:00
qbman soc/fsl: qbman: fix conflicting alignment attributes 2021-04-01 16:32:37 +02:00
qe soc: fsl: qe: add cpm_muram_free_addr() helper 2021-01-21 12:19:55 -08:00
dpaa2-console.c soc: fsl: fix spelling mistake "Firmaware" -> "Firmware" 2019-05-29 15:52:10 -05:00
guts.c soc: fsl: guts: Add definition for LS1028A 2019-08-15 16:43:59 -05:00
Kconfig soc: fsl: add RCPM driver 2019-11-12 15:26:05 -06:00
Makefile soc: fsl: add RCPM driver 2019-11-12 15:26:05 -06:00
rcpm.c soc: fsl: handle RCPM errata A-008646 on SoC LS1021A 2020-11-23 19:16:02 -06:00