linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] crypto: marvell/cesa - another fix up for of_get_named_gen_pool() rename
@ 2015-07-03  3:49 Stephen Rothwell
  2015-07-03 17:59 ` Guenter Roeck
  0 siblings, 1 reply; 2+ messages in thread
From: Stephen Rothwell @ 2015-07-03  3:49 UTC (permalink / raw)
  To: Andrew Morton; +Cc: Linus, linux-next, LKML


Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
 drivers/crypto/mv_cesa.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Andrew, you seem to have forgotten this one (or maybe it was not needed
in Linus' tree when you sent that last patch bomb).  Anyway, this is
now needed in Linus' tree.

diff --git a/drivers/crypto/mv_cesa.c b/drivers/crypto/mv_cesa.c
index 5bcd575fa96f..e6b658faef63 100644
--- a/drivers/crypto/mv_cesa.c
+++ b/drivers/crypto/mv_cesa.c
@@ -1034,8 +1034,8 @@ static int mv_cesa_get_sram(struct platform_device *pdev,
 			     &sram_size);
 
 	cp->sram_size = sram_size;
-	cp->sram_pool = of_get_named_gen_pool(pdev->dev.of_node,
-					      "marvell,crypto-srams", 0);
+	cp->sram_pool = of_gen_pool_get(pdev->dev.of_node,
+					"marvell,crypto-srams", 0);
 	if (cp->sram_pool) {
 		cp->sram = gen_pool_dma_alloc(cp->sram_pool, sram_size,
 					      &cp->sram_dma);
-- 
2.1.4

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

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

* Re: [PATCH] crypto: marvell/cesa - another fix up for of_get_named_gen_pool() rename
  2015-07-03  3:49 [PATCH] crypto: marvell/cesa - another fix up for of_get_named_gen_pool() rename Stephen Rothwell
@ 2015-07-03 17:59 ` Guenter Roeck
  0 siblings, 0 replies; 2+ messages in thread
From: Guenter Roeck @ 2015-07-03 17:59 UTC (permalink / raw)
  To: Stephen Rothwell; +Cc: Andrew Morton, Linus, linux-next, LKML

On Fri, Jul 03, 2015 at 01:49:37PM +1000, Stephen Rothwell wrote:
> 
> Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
> ---
>  drivers/crypto/mv_cesa.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> Andrew, you seem to have forgotten this one (or maybe it was not needed
> in Linus' tree when you sent that last patch bomb).  Anyway, this is
> now needed in Linus' tree.
> 
See also https://lkml.org/lkml/2015/6/25/122.

Guenter

> diff --git a/drivers/crypto/mv_cesa.c b/drivers/crypto/mv_cesa.c
> index 5bcd575fa96f..e6b658faef63 100644
> --- a/drivers/crypto/mv_cesa.c
> +++ b/drivers/crypto/mv_cesa.c
> @@ -1034,8 +1034,8 @@ static int mv_cesa_get_sram(struct platform_device *pdev,
>  			     &sram_size);
>  
>  	cp->sram_size = sram_size;
> -	cp->sram_pool = of_get_named_gen_pool(pdev->dev.of_node,
> -					      "marvell,crypto-srams", 0);
> +	cp->sram_pool = of_gen_pool_get(pdev->dev.of_node,
> +					"marvell,crypto-srams", 0);
>  	if (cp->sram_pool) {
>  		cp->sram = gen_pool_dma_alloc(cp->sram_pool, sram_size,
>  					      &cp->sram_dma);
> -- 
> 2.1.4
> 
> -- 
> Cheers,
> Stephen Rothwell                    sfr@canb.auug.org.au
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
> 
> 

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

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

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-03  3:49 [PATCH] crypto: marvell/cesa - another fix up for of_get_named_gen_pool() rename Stephen Rothwell
2015-07-03 17:59 ` Guenter Roeck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).