OpenCloudOS-Kernel/drivers/crypto/qat/qat_common
Giovanni Cabiddu 44dbd0c61b crypto: qat - fix initialization of pfvf rts_map_msg structures
Initialize fully the structures rts_map_msg containing the ring to
service map 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:144:51: warning: missing field 'map' initializer [-Wmissing-field-initializers]
            struct ring_to_svc_map_v1 rts_map_msg = { { 0 }, };
                                                             ^
Fixes: e1b176af3d ("crypto: qat - exchange ring-to-service mappings over PFVF")
Signed-off-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2022-03-09 15:12:32 +12:00
..
Makefile crypto: qat - enable power management for QAT GEN4 2022-02-18 16:21:09 +11:00
adf_accel_devices.h crypto: qat - enable power management for QAT GEN4 2022-02-18 16:21:09 +11:00
adf_accel_engine.c crypto: qat - add support for compression for 4xxx 2021-12-24 14:18:27 +11:00
adf_admin.c crypto: qat - enable power management for QAT GEN4 2022-02-18 16:21:09 +11:00
adf_aer.c crypto: qat - simplify adf_enable_aer() 2021-10-12 17:37:15 -05:00
adf_cfg.c crypto: qat - add support for compression for 4xxx 2021-12-24 14:18:27 +11:00
adf_cfg.h crypto: qat - convert to SPDX License Identifiers 2020-06-18 17:19:44 +10:00
adf_cfg_common.h crypto: qat - store the ring-to-service mapping 2021-12-24 14:18:26 +11:00
adf_cfg_strings.h crypto: qat - add support for compression for 4xxx 2021-12-24 14:18:27 +11:00
adf_cfg_user.h crypto: qat - replace user types with kernel ABI __u types 2020-06-18 17:26:42 +10:00
adf_common_drv.h crypto: qat - enable power management for QAT GEN4 2022-02-18 16:21:09 +11:00
adf_ctl_drv.c crypto: qat - add misc workqueue 2022-02-18 16:21:09 +11:00
adf_dev_mgr.c crypto: qat - fix excluded_middle.cocci warnings 2020-11-27 17:13:41 +11:00
adf_gen2_hw_data.c crypto: qat - add the adf_get_pmisc_base() helper function 2021-12-24 14:18:24 +11:00
adf_gen2_hw_data.h crypto: qat - store the ring-to-service mapping 2021-12-24 14:18:26 +11:00
adf_gen2_pfvf.c crypto: qat - support fast ACKs in the PFVF protocol 2021-12-24 14:18:26 +11:00
adf_gen2_pfvf.h crypto: qat - add pfvf_ops 2021-11-26 16:20:46 +11:00
adf_gen4_hw_data.c crypto: qat - add the adf_get_pmisc_base() helper function 2021-12-24 14:18:24 +11:00
adf_gen4_hw_data.h crypto: qat - move and rename GEN4 error register definitions 2022-02-18 16:21:09 +11:00
adf_gen4_pfvf.c crypto: qat - remove unneeded assignment 2022-03-09 15:12:32 +12:00
adf_gen4_pfvf.h crypto: qat - add PFVF support to the GEN4 host driver 2021-12-24 14:18:27 +11:00
adf_gen4_pm.c crypto: qat - enable power management for QAT GEN4 2022-02-18 16:21:09 +11:00
adf_gen4_pm.h crypto: qat - enable power management for QAT GEN4 2022-02-18 16:21:09 +11:00
adf_hw_arbiter.c crypto: qat - configure arbiter mapping based on engines enabled 2021-01-14 17:10:26 +11:00
adf_init.c crypto: qat - enable power management for QAT GEN4 2022-02-18 16:21:09 +11:00
adf_isr.c crypto: qat - enable power management for QAT GEN4 2022-02-18 16:21:09 +11:00
adf_pfvf_msg.h crypto: qat - fix definition of ring reset results 2021-12-31 18:10:56 +11:00
adf_pfvf_pf_msg.c crypto: qat - exchange ring-to-service mappings over PFVF 2021-12-24 14:18:26 +11:00
adf_pfvf_pf_msg.h crypto: qat - exchange ring-to-service mappings over PFVF 2021-12-24 14:18:26 +11:00
adf_pfvf_pf_proto.c crypto: qat - add PFVF support to enable the reset of ring pairs 2021-12-24 14:18:27 +11:00
adf_pfvf_pf_proto.h crypto: qat - abstract PFVF messages with struct pfvf_message 2021-12-24 14:18:25 +11:00
adf_pfvf_utils.c crypto: qat - introduce support for PFVF block messages 2021-12-24 14:18:26 +11:00
adf_pfvf_utils.h crypto: qat - introduce support for PFVF block messages 2021-12-24 14:18:26 +11:00
adf_pfvf_vf_msg.c crypto: qat - fix initialization of pfvf rts_map_msg structures 2022-03-09 15:12:32 +12:00
adf_pfvf_vf_msg.h crypto: qat - exchange ring-to-service mappings over PFVF 2021-12-24 14:18:26 +11:00
adf_pfvf_vf_proto.c crypto: qat - add PFVF support to enable the reset of ring pairs 2021-12-24 14:18:27 +11:00
adf_pfvf_vf_proto.h crypto: qat - introduce support for PFVF block messages 2021-12-24 14:18:26 +11:00
adf_sriov.c crypto: qat - add support for compression for 4xxx 2021-12-24 14:18:27 +11:00
adf_transport.c crypto: qat - Fix a double free in adf_create_ring 2021-04-09 17:45:14 +10:00
adf_transport.h crypto: qat - replace user types with kernel u types 2020-06-18 17:26:41 +10:00
adf_transport_access_macros.h crypto: qat - remove hardcoded bank irq clear flag mask 2020-10-30 17:34:57 +11:00
adf_transport_debug.c crypto: qat - change format string and cast ring size 2021-01-14 17:10:26 +11:00
adf_transport_internal.h crypto: qat - num_rings_per_bank is device dependent 2020-10-30 17:34:46 +11:00
adf_vf_isr.c crypto: qat - add the adf_get_pmisc_base() helper function 2021-12-24 14:18:24 +11:00
icp_qat_fw.h crypto: qat - replace user types with kernel ABI __u types 2020-06-18 17:26:42 +10:00
icp_qat_fw_init_admin.h crypto: qat - enable power management for QAT GEN4 2022-02-18 16:21:09 +11:00
icp_qat_fw_la.h crypto: qat - add AES-CTR support for QAT GEN4 devices 2020-12-11 21:54:15 +11:00
icp_qat_fw_loader_handle.h crypto: qat - check MMP size before writing to the SRAM 2021-05-28 14:20:40 +08:00
icp_qat_fw_pke.h crypto: qat - replace user types with kernel ABI __u types 2020-06-18 17:26:42 +10:00
icp_qat_hal.h crypto: qat - add gen4 firmware loader 2020-11-13 20:38:55 +11:00
icp_qat_hw.h crypto: qat - allow detection of dc capabilities for 4xxx 2021-12-24 14:18:27 +11:00
icp_qat_uclo.h crypto: qat - add gen4 firmware loader 2020-11-13 20:38:55 +11:00
qat_algs.c crypto: qat - fix use of 'dma_map_single' 2021-03-13 00:04:05 +11:00
qat_asym_algs.c crypto: qat - reduce size of mapped region 2021-01-14 17:10:26 +11:00
qat_crypto.c crypto: qat - disable registration of algorithms 2022-03-09 15:12:32 +12:00
qat_crypto.h crypto: qat - register crypto instances based on capability 2020-10-30 17:34:54 +11:00
qat_hal.c crypto: qat - add the adf_get_pmisc_base() helper function 2021-12-24 14:18:24 +11:00
qat_uclo.c crypto: qat - don't cast parameter in bit operations 2022-02-18 16:21:08 +11:00