mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [V3 PATCH 0/2]  fix some CAAM warnings.
@ 2015-03-06  2:34 yanjiang.jin
  2015-03-06  2:34 ` [PATCH 1/2] crypto: caamhash: - fix uninitialized edesc->sec4_sg_bytes field yanjiang.jin
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: yanjiang.jin @ 2015-03-06  2:34 UTC (permalink / raw)
  To: horia.geanta, herbert, davem, kim.phillips
  Cc: ruchika.gupta, cristian.stoica, NiteshNarayanLal, linux-crypto,
	linux-kernel, jinyanjiang

From: Yanjiang Jin <yanjiang.jin@windriver.com>

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-03-09 10:07 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-06  2:34 [V3 PATCH 0/2] fix some CAAM warnings yanjiang.jin
2015-03-06  2:34 ` [PATCH 1/2] crypto: caamhash: - fix uninitialized edesc->sec4_sg_bytes field yanjiang.jin
2015-03-07  0:36   ` Kim Phillips
2015-03-06  2:34 ` [PATCH 2/2] crypto: caam_rng: fix rng_unmap_ctx's DMA_UNMAP size problem yanjiang.jin
2015-03-07  0:37   ` Kim Phillips
2015-03-09 10:07 ` [V3 PATCH 0/2] fix some CAAM warnings Herbert Xu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®