Linux ATA/IDE development
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Artem Novak" <artem122novak@gmail.com>
Cc: linux-ide@vger.kernel.org, dlemoal@kernel.org, cassel@kernel.org
Subject: Re: [PATCH 3/4] ata: sata_dwc_460ex: add missing newlines to error messages
Date: Thu, 26 Nov 2026 05:24:08 +0000	[thread overview]
Message-ID: <sashiko-outbox-234781@kernel.org> (raw)
In-Reply-To: <20261126051523.14431-4-artem122novak@gmail.com>

Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] ata: sata_dwc_460ex: missing trailing newline in
  sata_dwc_error_intr()
--

commit e320508318c2ef9123f949386b3a88f44a470ebe
Author: Artem Novak <artem122novak@gmail.com>

ata: sata_dwc_460ex: add missing newlines to error messages

This commit adds missing trailing newlines to error messages in
sata_dwc_isr(), sata_dwc_dma_xfer_complete(), and sata_dwc_probe().

> diff --git a/drivers/ata/sata_dwc_460ex.c b/drivers/ata/sata_dwc_460ex.c
> index 486ea94a0184b..f1237bb20a4aa 100644
> --- a/drivers/ata/sata_dwc_460ex.c
> +++ b/drivers/ata/sata_dwc_460ex.c
> @@ -498,7 +498,7 @@ static irqreturn_t sata_dwc_isr(int irq, void *dev_instance)
>  
>  		qc = ata_qc_from_tag(ap, tag);
>  		if (unlikely(!qc)) {
> -			dev_err(ap->dev, "failed to get qc");
> +			dev_err(ap->dev, "failed to get qc\n");
>  			handled = 1;
>  			goto DONE;
>  		}

[Severity: Low]
Should the dev_err() call in sata_dwc_error_intr(), which is called from
sata_dwc_isr() on error interrupts, also have a trailing newline added?

drivers/ata/sata_dwc_460ex.c:sata_dwc_error_intr() {
    ...
	dev_err(ap->dev,
		"%s SCR_ERROR=0x%08x intpr=0x%08x status=0x%08x dma_intp=%d pending=%d issued=%d",
		__func__, serror, intpr, status, hsdevp->dma_interrupt_count,
		hsdevp->dma_pending[tag], hsdevp->cmd_issued[tag]);
    ...
}

Without it, subsequent kernel log messages after a SATA error interrupt
will still be concatenated onto the same line.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261126051523.14431-1-artem122novak@gmail.com?part=3

  reply	other threads:[~2026-11-26  5:24 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-26  5:15 [PATCH 0/4] ata: add missing newlines to error messages Artem Novak
2026-11-26  5:15 ` [PATCH 1/4] ata: pata_arasan_cf: add missing newline to warning Artem Novak
2026-11-26  7:27   ` Damien Le Moal
2026-11-26  5:15 ` [PATCH 2/4] ata: pata_pxa: add missing newline to DMA warning Artem Novak
2026-11-26  7:28   ` Damien Le Moal
2026-11-26  5:15 ` [PATCH 3/4] ata: sata_dwc_460ex: add missing newlines to error messages Artem Novak
2026-11-26  5:24   ` sashiko-bot [this message]
2026-11-26  7:28   ` Damien Le Moal
2026-11-26  7:29     ` Damien Le Moal
2026-11-26  5:15 ` [PATCH 4/4] ata: sata_gemini: " Artem Novak
2026-11-26  7:30   ` Damien Le Moal

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=sashiko-outbox-234781@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=artem122novak@gmail.com \
    --cc=cassel@kernel.org \
    --cc=dlemoal@kernel.org \
    --cc=linux-ide@vger.kernel.org \
    --cc=sashiko-reviews@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox