Linux kernel -stable discussions
 help / color / mirror / Atom feed
* [PATCH] crypto: talitos - fix rename first/last to first_desc/last_desc
@ 2026-05-20 16:58 Goetz Goerisch
  2026-05-21 10:16 ` Paul Louvel
  0 siblings, 1 reply; 11+ messages in thread
From: Goetz Goerisch @ 2026-05-20 16:58 UTC (permalink / raw)
  To: paul.louvel; +Cc: herve.codina, miquel.raynal, stable, thomas.petazzoni

Hi,

Commit a1b80018b8cec27fc06a8b04a7f8b5f6cfe86eae
was backported to 6.6.y with a866e2b1c65edaee2e1bb1024ee2c761ced335f8
It renames last to last_desc but misses one occurrence which leads to compile errors on mpc85xx

drivers/crypto/talitos.c: In function 'ahash_digest':
drivers/crypto/talitos.c:2204:16: error: 'struct talitos_ahash_req_ctx' has no member named 'last'
 2204 | req_ctx->last = 1;
      |        ^~4

Fixes: a866e2b1c65e ("crypto: talitos - rename first/last to first_desc/last_desc")
Signed-off-by: Goetz Goerisch <ggoerisch@gmail.com>
---
 drivers/crypto/talitos.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/crypto/talitos.c b/drivers/crypto/talitos.c
index 347483f6fc5d..ed160c591346 100644
--- a/drivers/crypto/talitos.c
+++ b/drivers/crypto/talitos.c
@@ -2201,7 +2201,7 @@ static int ahash_digest(struct ahash_request *areq)
 	struct crypto_ahash *ahash = crypto_ahash_reqtfm(areq);
 
 	ahash->init(areq);
-	req_ctx->last = 1;
+	req_ctx->last_desc = 1;
 
 	return ahash_process_req(areq, areq->nbytes);
 }
-- 
2.54.0

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

end of thread, other threads:[~2026-05-23 15:11 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-20 16:58 [PATCH] crypto: talitos - fix rename first/last to first_desc/last_desc Goetz Goerisch
2026-05-21 10:16 ` Paul Louvel
2026-05-21 10:20   ` Paul Louvel
2026-05-21 15:25     ` Goetz Goerisch
2026-05-22  5:12       ` Greg Kroah-Hartman
2026-05-23 15:10         ` [PATCH 0/5] " Goetz Goerisch
2026-05-23 15:10           ` [PATCH 1/5] Revert "crypto: talitos - rename first/last to first_desc/last_desc" Goetz Goerisch
2026-05-23 15:10           ` [PATCH 2/5] Revert "crypto: talitos - fix SEC1 32k ahash request limitation" Goetz Goerisch
2026-05-23 15:10           ` [PATCH 3/5] crypto: talitos - stop using crypto_ahash::init Goetz Goerisch
2026-05-23 15:10           ` [PATCH 4/5] crypto: talitos - fix SEC1 32k ahash request limitation Goetz Goerisch
2026-05-23 15:10           ` [PATCH 5/5] crypto: talitos - rename first/last to first_desc/last_desc Goetz Goerisch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox