mirror of https://gitee.com/openkylin/linux.git
37e5265437
Replaced the use of a Variable Length Array In Struct (VLAIS) with a C99 compliant equivalent. This patch allocates the appropriate amount of memory using a char array using the SHASH_DESC_ON_STACK macro. The new code can be compiled with both gcc and clang. Signed-off-by: Behan Webster <behanw@converseincode.com> Reviewed-by: Mark Charlebois <charlebm@gmail.com> Reviewed-by: Jan-Simon Möller <dl9pf@gmx.de> Acked-by: Herbert Xu <herbert@gondor.apana.org.au> |
||
---|---|---|
.. | ||
Makefile | ||
adf_accel_devices.h | ||
adf_accel_engine.c | ||
adf_aer.c | ||
adf_cfg.c | ||
adf_cfg.h | ||
adf_cfg_common.h | ||
adf_cfg_strings.h | ||
adf_cfg_user.h | ||
adf_common_drv.h | ||
adf_ctl_drv.c | ||
adf_dev_mgr.c | ||
adf_init.c | ||
adf_transport.c | ||
adf_transport.h | ||
adf_transport_access_macros.h | ||
adf_transport_debug.c | ||
adf_transport_internal.h | ||
icp_qat_fw.h | ||
icp_qat_fw_init_admin.h | ||
icp_qat_fw_la.h | ||
icp_qat_fw_loader_handle.h | ||
icp_qat_hal.h | ||
icp_qat_hw.h | ||
icp_qat_uclo.h | ||
qat_algs.c | ||
qat_crypto.c | ||
qat_crypto.h | ||
qat_hal.c | ||
qat_uclo.c |