mirror of
https://github.com/torvalds/linux.git
synced 2024-12-12 22:23:55 +00:00
040f31196e
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:
|
||
---|---|---|
.. | ||
dpio | ||
qbman | ||
qe | ||
dpaa2-console.c | ||
guts.c | ||
Kconfig | ||
Makefile | ||
rcpm.c |