Re: [PATCH] Crypto: fixed a comment coding style issue

2019-06-23 Thread Herbert Xu
On Sat, Jun 22, 2019 at 09:40:00PM -0400, Aditya Parekh wrote: > Fixed a coding style issue. > > Signed-off-by: Aditya Parekh > --- > crypto/fcrypt.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/crypto/fcrypt.c b/crypto/fcrypt.c > index 4e8704405a3b..3828266af0b8 1

Re: [PATCH] crypto: cavium remove casting dma_alloc

2019-06-23 Thread David Miller
From: Vasyl Gomonovych Date: Sun, 23 Jun 2019 22:48:49 +0200 > @@ -233,7 +233,7 @@ static int alloc_command_queues(struct cpt_vf *cptvf, > > c_size = (rem_q_size > qcsize_bytes) ? qcsize_bytes : > rem_q_size; > - cu

[PATCH] crypto: cavium remove casting dma_alloc

2019-06-23 Thread Vasyl Gomonovych
From: Vasyl Generated by: alloc_cast.cocci Signed-off-by: Vasyl --- drivers/crypto/cavium/cpt/cptvf_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/crypto/cavium/cpt/cptvf_main.c b/drivers/crypto/cavium/cpt/cptvf_main.c index 0f72e9abdefe..e9b5c4c70317 1006

[PATCH] crypto: cavium remove casting dma_alloc

2019-06-23 Thread Vasyl Gomonovych
From: Vasyl Generated by: alloc_cast.cocci Signed-off-by: Vasyl --- drivers/crypto/cavium/cpt/cptvf_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/crypto/cavium/cpt/cptvf_main.c b/drivers/crypto/cavium/cpt/cptvf_main.c index 0f72e9abdefe..e9b5c4c70317 1006

[patch] crypto: ccp - Free ccp if initialization fails

2019-06-23 Thread David Rientjes
If ccp_dev_init() fails, kfree() the allocated ccp since it will otherwise be leaked. Fixes: 720419f01832 ("crypto: ccp - Introduce the AMD Secure Processor device") Reported-by: Cfir Cohen Signed-off-by: David Rientjes --- drivers/crypto/ccp/ccp-dev.c | 1 + 1 file changed, 1 insertion(+) di