[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <YTHixlBTl5/uVPtd@silpixa00400314>
Date: Fri, 3 Sep 2021 09:54:30 +0100
From: Giovanni Cabiddu <giovanni.cabiddu@...el.com>
To: kernel test robot <lkp@...el.com>
Cc: llvm@...ts.linux.dev, kbuild-all@...ts.01.org,
linux-kernel@...r.kernel.org,
Herbert Xu <herbert@...dor.apana.org.au>,
Fiona Trahe <fiona.trahe@...el.com>,
Wojciech Ziemba <wojciech.ziemba@...el.com>,
Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
Subject: Re: drivers/crypto/qat/qat_dh895xcc/adf_dh895xcc_hw_data.c:229:28:
warning: taking address of packed member 'csr_ops' of class or structure
'adf_hw_device_data' may result in an unaligned pointer value
On Fri, Sep 03, 2021 at 03:26:45PM +0800, kernel test robot wrote:
> >> drivers/crypto/qat/qat_dh895xcc/adf_dh895xcc_hw_data.c:229:28: warning: taking address of packed member 'csr_ops' of class or structure 'adf_hw_device_data' may result in an unaligned pointer value [-Waddress-of-packed-member]
> adf_gen2_init_hw_csr_ops(&hw_data->csr_ops);
> ^~~~~~~~~~~~~~~~
> 3 warnings generated.
I already sent a fix to resolve such warnings:
https://patchwork.kernel.org/project/linux-crypto/patch/20210902083459.238983-1-giovanni.cabiddu@intel.com/
Regards,
--
Giovanni
Powered by blists - more mailing lists