mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-05 09:16:44 +07:00
e8c96b57a7
[ 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:
|
||
---|---|---|
.. | ||
bman_ccsr.c | ||
bman_portal.c | ||
bman_priv.h | ||
bman_test_api.c | ||
bman_test.c | ||
bman_test.h | ||
bman.c | ||
dpaa_sys.c | ||
dpaa_sys.h | ||
Kconfig | ||
Makefile | ||
qman_ccsr.c | ||
qman_portal.c | ||
qman_priv.h | ||
qman_test_api.c | ||
qman_test_stash.c | ||
qman_test.c | ||
qman_test.h | ||
qman.c |