soc: fsl: qman: fix -Wpacked-not-aligned warnings
authorLi Yang <leoyang.li@nxp.com>
Tue, 22 Sep 2020 22:38:21 +0000 (17:38 -0500)
committerLi Yang <leoyang.li@nxp.com>
Tue, 22 Sep 2020 22:38:21 +0000 (17:38 -0500)
commit1fe44191f361a88b0f9600a5bbc8ebf7ede642ce
tree2ff11f77d28563780a9a4ebafd1948ec68c4e163
parent9123e3a74ec7b934a4a099e98af6a61c2f80bbf5
soc: fsl: qman: fix -Wpacked-not-aligned warnings

This fixes compile warnings from the -Wpacked-not-aligned option.

In file included from ../drivers/crypto/caam/qi.c:12:
../include/soc/fsl/qman.h:259:1: warning: alignment 1 of ‘struct qm_dqrr_entry’ is less than 8 [-Wpacked-not-aligned]
 } __packed;
 ^
../include/soc/fsl/qman.h:292:2: warning: alignment 1 of ‘struct <anonymous>’ is less than 8 [-Wpacked-not-aligned]
  } __packed ern;
  ^

Reported-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Li Yang <leoyang.li@nxp.com>
include/soc/fsl/qman.h