[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.

[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 jo...@ti.com --- drivers/crypto/omap-sham.c | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-)

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

2014-01-28 Thread Fabio Estevam
From: Fabio Estevam fabio.este...@freescale.com 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 fabio.este...@freescale.com --- drivers/crypto/mxs-dcp.c | 9

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 fabio.este...@freescale.com 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

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 fabio.este...@freescale.com stmp_reset_block() may fail, so check its return value and propagate it in the case of error. Signed-off-by: Fabio Estevam fabio.este...@freescale.com Acked-by: Marek Vasut

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 s.nawro...@samsung.com wrote: Hi, On 23/01/14 11:18, Naveen Krishna Ch wrote: Hello All, On 15 January 2014 14:47, Naveen Krishna Chatradhi ch.nav...@samsung.com wrote: This patch set adds use of clk_prepare/clk_unprepare as