From: Yanjiang Jin <yanjiang.jin@xxxxxxxxxxxxx> Hi, This patch series fix some CAAM compile and runtime warnings. I have tested this on fsl-p5020ds board using upstream 4.0.0-rc2 with the below configs: CONFIG_DMA_API_DEBUG=y # CONFIG_CRYPTO_MANAGER_DISABLE_TESTS is not set Change log: v3: 0001-crypto-caamhash-fix-uninitialized-edesc-sec4_sg_byte.patch is same as before. For 0002-crypto-caam_rng-fix-rng_unmap_ctx-s-DMA_UNMAP-size-p.patch 1. Fix an alignment issue; 2. update DESC_RNG_LEN to (4 * CAAM_CMD_SZ). Abandon the v2 patch 0001-crypto-caam-fix-some-compile-warnings.patch. Yanjiang Jin (2): crypto: caamhash: - fix uninitialized edesc->sec4_sg_bytes field crypto: caam_rng: fix rng_unmap_ctx's DMA_UNMAP size problem drivers/crypto/caam/caamhash.c | 1 + drivers/crypto/caam/caamrng.c | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-crypto" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html