Skip to contentSkip to conversation

crypto: ux500: Update error message for dmaengine_prep_slave_sg() API

PATCH Applied Geert Uytterhoeven 2 participants 2 messages Mar 4, 2015 – Mar 6, 2015 Crypto API

lore
Share & tools
lore
#0 lore raw

PATCH 4/9 crypto: ux500: Update error message for dmaengine_prep_slave_sg() API

From: Geert Uytterhoeven <[email protected]>

Commit 7e933d3b1e25b250 ("crypto: ux500: use dmaengine_prep_slave_sg API") changed the code to use the new API, but forgot to update an error message.

---
Resending trivial patches submitted in 2014.

 drivers/crypto/ux500/hash/hash_core.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/crypto/ux500/hash/hash_core.c +1 -1
index 187a8fd7eee7f5ec..5f5f360628fc443a 100644
@@ -184,7 +184,7 @@ static int hash_set_dma_transfer(struct hash_ctx *ctx, struct scatterlist *sg,
 			direction, DMA_CTRL_ACK | DMA_PREP_INTERRUPT);
 	if (!desc) {
 		dev_err(ctx->device->dev,
-			"%s: device_prep_slave_sg() failed!\n", __func__);
+			"%s: dmaengine_prep_slave_sg() failed!\n", __func__);
 		return -EFAULT;
 	}
 
Signature · 1 line
1.9.1
maintainer Applied
#1 lore raw
Quoted 8 lines · Geert Uytterhoeven

From: Geert Uytterhoeven <[email protected]>

Commit 7e933d3b1e25b250 ("crypto: ux500: use dmaengine_prep_slave_sg API") changed the code to use the new API, but forgot to update an error message.

Applied.

Signature · 3 lines
Email: Herbert Xu <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt