diff options
author | Giovanni Cabiddu <giovanni.cabiddu@intel.com> | 2021-09-02 10:34:59 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2021-09-17 05:06:13 +0200 |
commit | 40da865381ad061ab75a7a9da469ed4e623bdfeb (patch) | |
tree | 24ab39b90374eda1baca1cc8f80cb9c21f36b181 /drivers/char/hw_random/ixp4xx-rng.c | |
parent | crypto: qat - free irq in case of failure (diff) | |
download | linux-40da865381ad061ab75a7a9da469ed4e623bdfeb.tar.xz linux-40da865381ad061ab75a7a9da469ed4e623bdfeb.zip |
crypto: qat - remove unneeded packed attribute
Remove packed attribute from structures that do not need to be packed.
These are just used internally and not shared with firmware.
This also fixes a series of warning when compiling the driver with the
flag -Waddress-of-packed-member, similar to the following:
drivers/crypto/qat/qat_c62xvf/adf_c62xvf_hw_data.c:102:28: warning: taking address of packed member 'csr_ops' of class or structure 'adf_hw_device_data' may result in an unaligned pointer value
Signed-off-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com>
Reported-by: kernel test robot <lkp@intel.com>
Reviewed-by: Wojciech Ziemba <wojciech.ziemba@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/char/hw_random/ixp4xx-rng.c')
0 files changed, 0 insertions, 0 deletions