All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] crypto: atmel-tdes: initialize tdes_dd while declaring
@ 2022-07-06  9:17 ` Claudiu Beznea
  0 siblings, 0 replies; 4+ messages in thread
From: Claudiu Beznea @ 2022-07-06  9:17 UTC (permalink / raw)
  To: herbert, davem, nicolas.ferre, alexandre.belloni
  Cc: linux-crypto, linux-arm-kernel, linux-kernel, Claudiu Beznea

Initialize sha_dd with platform_get_drvdata() when declaring it.

Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
---

Hi,

This patch is based on patch at [1].

[1] https://patchwork.kernel.org/project/linux-crypto/patch/20220705205144.131702-3-u.kleine-koenig@pengutronix.de

Thank you,
Claudiu Beznea

 drivers/crypto/atmel-tdes.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/drivers/crypto/atmel-tdes.c b/drivers/crypto/atmel-tdes.c
index a5e78aa08bf0..8b7bc1076e0d 100644
--- a/drivers/crypto/atmel-tdes.c
+++ b/drivers/crypto/atmel-tdes.c
@@ -1263,9 +1263,7 @@ static int atmel_tdes_probe(struct platform_device *pdev)
 
 static int atmel_tdes_remove(struct platform_device *pdev)
 {
-	struct atmel_tdes_dev *tdes_dd;
-
-	tdes_dd = platform_get_drvdata(pdev);
+	struct atmel_tdes_dev *tdes_dd = platform_get_drvdata(pdev);
 
 	spin_lock(&atmel_tdes.lock);
 	list_del(&tdes_dd->list);
-- 
2.33.0


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

* [PATCH] crypto: atmel-tdes: initialize tdes_dd while declaring
@ 2022-07-06  9:17 ` Claudiu Beznea
  0 siblings, 0 replies; 4+ messages in thread
From: Claudiu Beznea @ 2022-07-06  9:17 UTC (permalink / raw)
  To: herbert, davem, nicolas.ferre, alexandre.belloni
  Cc: linux-crypto, linux-arm-kernel, linux-kernel, Claudiu Beznea

Initialize sha_dd with platform_get_drvdata() when declaring it.

Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
---

Hi,

This patch is based on patch at [1].

[1] https://patchwork.kernel.org/project/linux-crypto/patch/20220705205144.131702-3-u.kleine-koenig@pengutronix.de

Thank you,
Claudiu Beznea

 drivers/crypto/atmel-tdes.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/drivers/crypto/atmel-tdes.c b/drivers/crypto/atmel-tdes.c
index a5e78aa08bf0..8b7bc1076e0d 100644
--- a/drivers/crypto/atmel-tdes.c
+++ b/drivers/crypto/atmel-tdes.c
@@ -1263,9 +1263,7 @@ static int atmel_tdes_probe(struct platform_device *pdev)
 
 static int atmel_tdes_remove(struct platform_device *pdev)
 {
-	struct atmel_tdes_dev *tdes_dd;
-
-	tdes_dd = platform_get_drvdata(pdev);
+	struct atmel_tdes_dev *tdes_dd = platform_get_drvdata(pdev);
 
 	spin_lock(&atmel_tdes.lock);
 	list_del(&tdes_dd->list);
-- 
2.33.0


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* Re: [PATCH] crypto: atmel-tdes: initialize tdes_dd while declaring
  2022-07-06  9:17 ` Claudiu Beznea
@ 2022-07-15  8:48   ` Herbert Xu
  -1 siblings, 0 replies; 4+ messages in thread
From: Herbert Xu @ 2022-07-15  8:48 UTC (permalink / raw)
  To: Claudiu Beznea
  Cc: davem, nicolas.ferre, alexandre.belloni, linux-crypto,
	linux-arm-kernel, linux-kernel

On Wed, Jul 06, 2022 at 12:17:27PM +0300, Claudiu Beznea wrote:
> Initialize sha_dd with platform_get_drvdata() when declaring it.
> 
> Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
> ---
> 
> Hi,
> 
> This patch is based on patch at [1].
> 
> [1] https://patchwork.kernel.org/project/linux-crypto/patch/20220705205144.131702-3-u.kleine-koenig@pengutronix.de
> 
> Thank you,
> Claudiu Beznea
> 
>  drivers/crypto/atmel-tdes.c | 4 +---
>  1 file changed, 1 insertion(+), 3 deletions(-)

Patch applied.  Thanks.
-- 
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

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

* Re: [PATCH] crypto: atmel-tdes: initialize tdes_dd while declaring
@ 2022-07-15  8:48   ` Herbert Xu
  0 siblings, 0 replies; 4+ messages in thread
From: Herbert Xu @ 2022-07-15  8:48 UTC (permalink / raw)
  To: Claudiu Beznea
  Cc: alexandre.belloni, linux-kernel, linux-crypto, davem, linux-arm-kernel

On Wed, Jul 06, 2022 at 12:17:27PM +0300, Claudiu Beznea wrote:
> Initialize sha_dd with platform_get_drvdata() when declaring it.
> 
> Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
> ---
> 
> Hi,
> 
> This patch is based on patch at [1].
> 
> [1] https://patchwork.kernel.org/project/linux-crypto/patch/20220705205144.131702-3-u.kleine-koenig@pengutronix.de
> 
> Thank you,
> Claudiu Beznea
> 
>  drivers/crypto/atmel-tdes.c | 4 +---
>  1 file changed, 1 insertion(+), 3 deletions(-)

Patch applied.  Thanks.
-- 
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

end of thread, other threads:[~2022-07-15  8:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-06  9:17 [PATCH] crypto: atmel-tdes: initialize tdes_dd while declaring Claudiu Beznea
2022-07-06  9:17 ` Claudiu Beznea
2022-07-15  8:48 ` Herbert Xu
2022-07-15  8:48   ` Herbert Xu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.