linux_dsm_epyc7002/drivers/soc/fsl/qbman
Arnd Bergmann e8c96b57a7 soc/fsl: qbman: fix conflicting alignment attributes
[ Upstream commit 040f31196e8b2609613f399793b9225271b79471 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-04-14 08:42:09 +02:00
..
bman_ccsr.c soc/fsl/qbman: Cleanup buffer pools if BMan was initialized prior to bootup 2019-08-15 16:41:42 -05:00
bman_portal.c soc/fsl/qbman: Cleanup buffer pools if BMan was initialized prior to bootup 2019-08-15 16:41:42 -05:00
bman_priv.h soc/fsl/qbman: Cleanup buffer pools if BMan was initialized prior to bootup 2019-08-15 16:41:42 -05:00
bman_test_api.c soc/bman: Add self-test for BMan driver 2016-09-25 02:38:59 -05:00
bman_test.c soc/bman: Add self-test for BMan driver 2016-09-25 02:38:59 -05:00
bman_test.h soc/bman: Add self-test for BMan driver 2016-09-25 02:38:59 -05:00
bman.c soc: fsl: qbman: Fix return value on success 2020-09-22 17:42:22 -05:00
dpaa_sys.c soc/fsl/qbman: Update device tree with reserved memory 2019-08-15 16:42:00 -05:00
dpaa_sys.h soc: fsl: qbman: Check if CPU is offline when initializing portals 2018-10-05 14:01:46 -05:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile ARM: SoC driver updates for v4.15 2017-11-16 16:05:01 -08:00
qman_ccsr.c soc/fsl/qbman: Disable interrupts during portal recovery 2019-08-15 16:41:53 -05:00
qman_portal.c soc/fsl/qbman: Cleanup QMan queues if device was already initialized 2019-08-15 16:41:47 -05:00
qman_priv.h soc/fsl/qbman: Disable interrupts during portal recovery 2019-08-15 16:41:53 -05:00
qman_test_api.c soc: fsl: qman: convert to use be32_add_cpu() 2020-09-22 18:16:15 -05:00
qman_test_stash.c soc/fsl/qman: test: use DEFINE_SPINLOCK() 2016-12-09 23:08:52 -06:00
qman_test.c soc/qman: Add self-test for QMan driver 2016-09-25 02:39:00 -05:00
qman_test.h soc/fsl/qbman: Use shared-dma-pool for QMan private memory allocations 2017-09-22 13:33:07 -05:00
qman.c soc/fsl: qbman: fix conflicting alignment attributes 2021-04-14 08:42:09 +02:00