Skip to content

Commit 1986f03

Browse files
Colin Ian Kingvinodkoul
authored andcommitted
dmaengine: fix spelling mistake "exceds" -> "exceeds"
There are a couple of spelling mistakes in dev_err error messages. Fix them. Signed-off-by: Colin Ian King <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
1 parent d0f19a4 commit 1986f03

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

drivers/dma/sh/rcar-dmac.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1219,7 +1219,7 @@ rcar_dmac_prep_dma_cyclic(struct dma_chan *chan, dma_addr_t buf_addr,
12191219
sg_len = buf_len / period_len;
12201220
if (sg_len > RCAR_DMAC_MAX_SG_LEN) {
12211221
dev_err(chan->device->dev,
1222-
"chan%u: sg length %d exceds limit %d",
1222+
"chan%u: sg length %d exceeds limit %d",
12231223
rchan->index, sg_len, RCAR_DMAC_MAX_SG_LEN);
12241224
return NULL;
12251225
}

drivers/dma/sh/shdma-base.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -709,7 +709,7 @@ static struct dma_async_tx_descriptor *shdma_prep_dma_cyclic(
709709
BUG_ON(!schan->desc_num);
710710

711711
if (sg_len > SHDMA_MAX_SG_LEN) {
712-
dev_err(schan->dev, "sg length %d exceds limit %d",
712+
dev_err(schan->dev, "sg length %d exceeds limit %d",
713713
sg_len, SHDMA_MAX_SG_LEN);
714714
return NULL;
715715
}

0 commit comments

Comments
 (0)