Re: [PATCH] crypto: caam: fix type mismatch warning

2016-10-25 Thread Horia Geanta Neag
On 10/26/2016 12:29 AM, Arnd Bergmann wrote: > Building the caam driver on arm64 produces a harmless warning: > > drivers/crypto/caam/caamalg.c:140:139: warning: comparison of distinct > pointer types lacks a cast > > We can use min_t to tell the compiler which type we want it to use > here. >

[cryptodev:master 41/47] ERROR: "crypto_acomp_scomp_free_ctx" [crypto/acompress.ko] undefined!

2016-10-25 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git master head: d7db7a882debaffc78f91aabedee973aa1f73390 commit: 1ab53a77b772bf7369464a0e4fa6fd6499acf8f1 [41/47] crypto: acomp - add driver-side scomp interface config: x86_64-randconfig-s4-10260656 (attached as .co

Re: [PATCH] sunrpc: don't pass on-stack memory to sg_set_buf

2016-10-25 Thread Trond Myklebust
> On Oct 25, 2016, at 15:59, Fields Bruce James wrote: > > On Tue, Oct 25, 2016 at 07:34:43PM +, Trond Myklebust wrote: >> >>> On Oct 25, 2016, at 14:45, J. Bruce Fields wrote: >>> >>> From: "J. Bruce Fields" >>> >>> As of ac4e97abce9b "scatterlist: sg_set_buf() argument must be in line

[PATCH] crypto: caam: fix type mismatch warning

2016-10-25 Thread Arnd Bergmann
Building the caam driver on arm64 produces a harmless warning: drivers/crypto/caam/caamalg.c:140:139: warning: comparison of distinct pointer types lacks a cast We can use min_t to tell the compiler which type we want it to use here. Fixes: 5ecf8ef9103c ("crypto: caam - fix sg dump") Signed-off

Re: [PATCH] sunrpc: don't pass on-stack memory to sg_set_buf

2016-10-25 Thread Fields Bruce James
On Tue, Oct 25, 2016 at 07:34:43PM +, Trond Myklebust wrote: > > > On Oct 25, 2016, at 14:45, J. Bruce Fields wrote: > > > > From: "J. Bruce Fields" > > > > As of ac4e97abce9b "scatterlist: sg_set_buf() argument must be in linear > > mapping", sg_set_buf hits a BUG when make_checksum_v2->x

Re: [PATCH] sunrpc: don't pass on-stack memory to sg_set_buf

2016-10-25 Thread Trond Myklebust
> On Oct 25, 2016, at 14:45, J. Bruce Fields wrote: > > From: "J. Bruce Fields" > > As of ac4e97abce9b "scatterlist: sg_set_buf() argument must be in linear > mapping", sg_set_buf hits a BUG when make_checksum_v2->xdr_process_buf, > among other callers, passes it memory on the stack. > > We o

[PATCH] sunrpc: don't pass on-stack memory to sg_set_buf

2016-10-25 Thread J. Bruce Fields
From: "J. Bruce Fields" As of ac4e97abce9b "scatterlist: sg_set_buf() argument must be in linear mapping", sg_set_buf hits a BUG when make_checksum_v2->xdr_process_buf, among other callers, passes it memory on the stack. We only need a scatterlist to pass this to the crypto code, and it seems li

[PATCH] crypto: sahara: fix typo "Decidated" -> "Dedicated"

2016-10-25 Thread Colin King
From: Colin Ian King Trivial fix to typo in dev_dbg message Signed-off-by: Colin Ian King --- drivers/crypto/sahara.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/crypto/sahara.c b/drivers/crypto/sahara.c index 0c49956..7ba0eae 100644 --- a/drivers/crypto/sahara.

Re: [PATCH v2] char: hw_random: atmel-rng: disable TRNG during suspend

2016-10-25 Thread Nicolas Ferre
Le 25/10/2016 à 02:56, Wenyou Yang a écrit : > To fix the over consumption on the VDDCore due to the TRNG enabled, > disable the TRNG during suspend, not only disable the user interface > clock (which is controlled by PMC). Because the user interface clock > is independent from any clock that may b

Re: [PATCH] nvmem: sunxi-sid: SID content is not a valid source of randomness

2016-10-25 Thread Jean-Francois Moine
On Tue, 25 Oct 2016 07:38:55 +0200 LABBE Corentin wrote: > > On Sat, Oct 22, 2016 at 03:53:28PM +0200, Corentin Labbe wrote: > > > Since SID's content is constant over reboot, > > > > That's not true, at least not across all the Allwinner SoCs, and > > especially not on the A10 and A20 that this