diff options
author | Giovanni Cabiddu <giovanni.cabiddu@intel.com> | 2022-03-04 21:03:55 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2022-03-09 06:12:32 +0300 |
commit | 54584146cc8cb49ce471011d4afcc03a8a529463 (patch) | |
tree | 06a7234fa19b0f1e4bfc1243ef2b3b8a2c861bdd /crypto/testmgr.h | |
parent | c700216c70fca38ae7ceff07ed63d79ae25379c5 (diff) | |
download | linux-54584146cc8cb49ce471011d4afcc03a8a529463.tar.xz |
crypto: qat - fix initialization of pfvf cap_msg structures
Initialize fully the structures cap_msg containing the device
capabilities from the host.
This is to fix the following warning when compiling the QAT driver
using the clang compiler with CC=clang W=2:
drivers/crypto/qat/qat_common/adf_pfvf_vf_msg.c:99:44: warning: missing field 'ext_dc_caps' initializer [-Wmissing-field-initializers]
struct capabilities_v3 cap_msg = { { 0 }, };
^
Fixes: 851ed498dba1 ("crypto: qat - exchange device capabilities over PFVF")
Signed-off-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/testmgr.h')
0 files changed, 0 insertions, 0 deletions