[PATCH] dmaengine: fsl-edma: Add missing newlines to log messages
Frank Li
Frank.li at nxp.com
Wed Feb 5 08:54:59 PST 2025
On Wed, Feb 05, 2025 at 10:14:55AM +0100, Stefan Wahren wrote:
> Not all log messages have a newline at the end. So fix it.
>
> Signed-off-by: Stefan Wahren <wahrenst at gmx.net>
> ---
Reviewed-by: Frank Li <Frank.Li at nxp.com>
> drivers/dma/fsl-edma-main.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/dma/fsl-edma-main.c b/drivers/dma/fsl-edma-main.c
> index f989b6c9c0a9..760c9e3e374c 100644
> --- a/drivers/dma/fsl-edma-main.c
> +++ b/drivers/dma/fsl-edma-main.c
> @@ -164,7 +164,7 @@ static bool fsl_edma_srcid_in_use(struct fsl_edma_engine *fsl_edma, u32 srcid)
> fsl_chan = &fsl_edma->chans[i];
>
> if (fsl_chan->srcid && srcid == fsl_chan->srcid) {
> - dev_err(&fsl_chan->pdev->dev, "The srcid is in use, can't use!");
> + dev_err(&fsl_chan->pdev->dev, "The srcid is in use, can't use!\n");
> return true;
> }
> }
> @@ -822,7 +822,7 @@ static int fsl_edma_suspend_late(struct device *dev)
> spin_lock_irqsave(&fsl_chan->vchan.lock, flags);
> /* Make sure chan is idle or will force disable. */
> if (unlikely(fsl_chan->status == DMA_IN_PROGRESS)) {
> - dev_warn(dev, "WARN: There is non-idle channel.");
> + dev_warn(dev, "WARN: There is non-idle channel.\n");
> fsl_edma_disable_request(fsl_chan);
> fsl_edma_chan_mux(fsl_chan, 0, false);
> }
> --
> 2.34.1
>
More information about the linux-arm-kernel
mailing list