Re: [PATCH 8/8 v4] crypto:s5p-sss: Use clk_prepare/clk_unprepare

2014-01-28 Thread Naveen Krishna Ch
Hello Sylwester, On 23 January 2014 16:11, Sylwester Nawrocki wrote: > Hi, > > On 23/01/14 11:18, Naveen Krishna Ch wrote: >> Hello All, >> >> On 15 January 2014 14:47, Naveen Krishna Chatradhi >> wrote: >>> This patch set adds use of clk_prepare/clk_unprepare as >>> required by generic clock fr

Re: [PATCH 2/2] crypto: mxs-dcp: Check the return value of stmp_reset_block()

2014-01-28 Thread Marek Vasut
On Wednesday, January 29, 2014 at 01:36:12 AM, Fabio Estevam wrote: > From: Fabio Estevam > > stmp_reset_block() may fail, so check its return value and propagate it in > the case of error. > > Signed-off-by: Fabio Estevam Acked-by: Marek Vasut Best regards, Marek Vasut -- To unsubscribe fro

Re: [PATCH 1/2] crypto: mxs-dcp: Use devm_kzalloc()

2014-01-28 Thread Marek Vasut
On Wednesday, January 29, 2014 at 01:36:11 AM, Fabio Estevam wrote: > From: Fabio Estevam > > Using devm_kzalloc() can make the code cleaner. > > While at it, remove the devm_kzalloc error message as there is standard OOM > message done by the core. > > Signed-off-by: Fabio Estevam Acked-by:

[PATCH 1/2] crypto: mxs-dcp: Use devm_kzalloc()

2014-01-28 Thread Fabio Estevam
From: Fabio Estevam Using devm_kzalloc() can make the code cleaner. While at it, remove the devm_kzalloc error message as there is standard OOM message done by the core. Signed-off-by: Fabio Estevam --- drivers/crypto/mxs-dcp.c | 9 ++--- 1 file changed, 2 insertions(+), 7 deletions(-) d

[PATCH 2/2] crypto: mxs-dcp: Check the return value of stmp_reset_block()

2014-01-28 Thread Fabio Estevam
From: Fabio Estevam stmp_reset_block() may fail, so check its return value and propagate it in the case of error. Signed-off-by: Fabio Estevam --- drivers/crypto/mxs-dcp.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/crypto/mxs-dcp.c b/drivers/crypto/mxs-dcp.c

[PATCH] crypto: omap-sham: Map SG pages if they are HIGHMEM before accessing

2014-01-28 Thread Joel Fernandes
HIGHMEM pages may not be mapped so we must kmap them before accessing. This resolves a random OOPs error that was showing up during OpenSSL SHA tests. Signed-off-by: Joel Fernandes --- drivers/crypto/omap-sham.c | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/d

[PATCH] crypto: talitos: init the priv->alg_list more earlier in talitos_probe()

2014-01-28 Thread Kevin Hao
In function talitos_probe(), it will jump to err_out when getting an error in talitos_probe_irq(). Then the uninitialized list head priv->alg_list will be used in function talitos_remove(). In this case we would get a call trace like the following. So move up the initialization of priv->alg_list.