From: Geert Uytterhoeven Date: Wed, 4 Mar 2015 09:19:30 +0000 (+0100) Subject: crypto: ux500 - Update error message for dmaengine_prep_slave_sg() API X-Git-Tag: v4.14-rc1~5591^2~122 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8e2e2769042f08eb49f630b5db87fce03696a415;p=platform%2Fkernel%2Flinux-rpi.git crypto: ux500 - Update error message for dmaengine_prep_slave_sg() API 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. Signed-off-by: Geert Uytterhoeven Signed-off-by: Herbert Xu --- diff --git a/drivers/crypto/ux500/hash/hash_core.c b/drivers/crypto/ux500/hash/hash_core.c index 187a8fd..5f5f360 100644 --- a/drivers/crypto/ux500/hash/hash_core.c +++ b/drivers/crypto/ux500/hash/hash_core.c @@ -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; }