This patchset is to fix some issues in the QAT firmware loader: * Patches #1 to #3, check the MMP binary size and return error if too large * Patch #4 fixes a problem detected by clang static * Patch #5 fixes a compiling warnings when building with clang Jack Xu (5): crypto: qat - return error when failing to map FW crypto: qat - check MMP size before writing to the SRAM crypto: qat - report an error if MMP file size is too large crypto: qat - check return code of qat_hal_rd_rel_reg() crypto: qat - remove unused macro in FW loader .../qat/qat_common/icp_qat_fw_loader_handle.h | 2 +- drivers/crypto/qat/qat_common/qat_hal.c | 14 +++++++++----- drivers/crypto/qat/qat_common/qat_uclo.c | 12 +++++------- 3 files changed, 15 insertions(+), 13 deletions(-) -- 2.31.1