All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/4] ata: add missing newlines to error messages
@ 2026-11-26 21:47 Artem Novak
  2026-11-26 21:47 ` [PATCH v3 1/4] ata: pata_arasan_cf: add missing newline to warning Artem Novak
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Artem Novak @ 2026-11-26 21:47 UTC (permalink / raw)
  To: dlemoal
  Cc: cassel, linus.walleij, viresh.kumar, linux-ide, linux-kernel,
	Artem Novak

This series adds missing trailing newlines to error and warning messages
in four ATA drivers.

The changes are formatting-only and do not alter driver behaviour.

Changes in v3:
- Carry Damien's Reviewed-by tag on all four patches; it was
  inadvertently included only on the sata_dwc_460ex patch in v2.

Changes in v2:
- Fix an additional missing newline in sata_dwc_error_intr(), as pointed
  out by Damien Le Moal.
- Add Damien's Reviewed-by tag to the sata_dwc_460ex patch.

Artem Novak (4):
  ata: pata_arasan_cf: add missing newline to warning
  ata: pata_pxa: add missing newline to DMA warning
  ata: sata_dwc_460ex: add missing newlines to error messages
  ata: sata_gemini: add missing newlines to error messages

 drivers/ata/pata_arasan_cf.c |  2 +-
 drivers/ata/pata_pxa.c       |  2 +-
 drivers/ata/sata_dwc_460ex.c | 10 +++++-----
 drivers/ata/sata_gemini.c    |  4 ++--
 4 files changed, 9 insertions(+), 9 deletions(-)

-- 
2.56.1


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [PATCH v3 1/4] ata: pata_arasan_cf: add missing newline to warning
  2026-11-26 21:47 [PATCH v3 0/4] ata: add missing newlines to error messages Artem Novak
@ 2026-11-26 21:47 ` Artem Novak
  2026-11-26 21:47 ` [PATCH v3 2/4] ata: pata_pxa: add missing newline to DMA warning Artem Novak
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 8+ messages in thread
From: Artem Novak @ 2026-11-26 21:47 UTC (permalink / raw)
  To: dlemoal
  Cc: cassel, linus.walleij, viresh.kumar, linux-ide, linux-kernel,
	Artem Novak

Terminate the clock-rate failure warning with a newline so that
subsequent kernel messages are properly separated.

Signed-off-by: Artem Novak <artem122novak@gmail.com>
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
---
 drivers/ata/pata_arasan_cf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/ata/pata_arasan_cf.c b/drivers/ata/pata_arasan_cf.c
index 12f1324461d1..0b3e4e63b66d 100644
--- a/drivers/ata/pata_arasan_cf.c
+++ b/drivers/ata/pata_arasan_cf.c
@@ -318,7 +318,7 @@ static int cf_init(struct arasan_cf_dev *acdev)
 
 	ret = clk_set_rate(acdev->clk, 166000000);
 	if (ret) {
-		dev_warn(acdev->host->dev, "clock set rate failed");
+		dev_warn(acdev->host->dev, "clock set rate failed\n");
 		clk_disable_unprepare(acdev->clk);
 		return ret;
 	}
-- 
2.56.1


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [PATCH v3 2/4] ata: pata_pxa: add missing newline to DMA warning
  2026-11-26 21:47 [PATCH v3 0/4] ata: add missing newlines to error messages Artem Novak
  2026-11-26 21:47 ` [PATCH v3 1/4] ata: pata_arasan_cf: add missing newline to warning Artem Novak
@ 2026-11-26 21:47 ` Artem Novak
  2026-11-26 21:47 ` [PATCH v3 3/4] ata: sata_dwc_460ex: add missing newlines to error messages Artem Novak
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 8+ messages in thread
From: Artem Novak @ 2026-11-26 21:47 UTC (permalink / raw)
  To: dlemoal
  Cc: cassel, linus.walleij, viresh.kumar, linux-ide, linux-kernel,
	Artem Novak

Terminate the DMA completion timeout warning with a newline to
keep kernel log messages properly separated.

Signed-off-by: Artem Novak <artem122novak@gmail.com>
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
---
 drivers/ata/pata_pxa.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/ata/pata_pxa.c b/drivers/ata/pata_pxa.c
index ed8c19db207c..46f93ad25a80 100644
--- a/drivers/ata/pata_pxa.c
+++ b/drivers/ata/pata_pxa.c
@@ -97,7 +97,7 @@ static void pxa_bmdma_stop(struct ata_queued_cmd *qc)
 	status = dmaengine_tx_status(pd->dma_chan, pd->dma_cookie, NULL);
 	if (status != DMA_ERROR && status != DMA_COMPLETE &&
 	    wait_for_completion_timeout(&pd->dma_done, HZ))
-		ata_dev_err(qc->dev, "Timeout waiting for DMA completion!");
+		ata_dev_err(qc->dev, "Timeout waiting for DMA completion!\n");
 
 	dmaengine_terminate_all(pd->dma_chan);
 }
-- 
2.56.1


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [PATCH v3 3/4] ata: sata_dwc_460ex: add missing newlines to error messages
  2026-11-26 21:47 [PATCH v3 0/4] ata: add missing newlines to error messages Artem Novak
  2026-11-26 21:47 ` [PATCH v3 1/4] ata: pata_arasan_cf: add missing newline to warning Artem Novak
  2026-11-26 21:47 ` [PATCH v3 2/4] ata: pata_pxa: add missing newline to DMA warning Artem Novak
@ 2026-11-26 21:47 ` Artem Novak
  2026-11-26 21:47 ` [PATCH v3 4/4] ata: sata_gemini: " Artem Novak
  2026-11-27  8:14 ` [PATCH v3 0/4] ata: " Niklas Cassel
  4 siblings, 0 replies; 8+ messages in thread
From: Artem Novak @ 2026-11-26 21:47 UTC (permalink / raw)
  To: dlemoal
  Cc: cassel, linus.walleij, viresh.kumar, linux-ide, linux-kernel,
	Artem Novak

Terminate the error messages with newlines so that subsequent
kernel log messages are properly separated.

Signed-off-by: Artem Novak <artem122novak@gmail.com>
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
---
 drivers/ata/sata_dwc_460ex.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/drivers/ata/sata_dwc_460ex.c b/drivers/ata/sata_dwc_460ex.c
index 486ea94a0184..c2bbd991a460 100644
--- a/drivers/ata/sata_dwc_460ex.c
+++ b/drivers/ata/sata_dwc_460ex.c
@@ -421,7 +421,7 @@ static void sata_dwc_error_intr(struct ata_port *ap,
 	tag = ap->link.active_tag;
 
 	dev_err(ap->dev,
-		"%s SCR_ERROR=0x%08x intpr=0x%08x status=0x%08x dma_intp=%d pending=%d issued=%d",
+		"%s SCR_ERROR=0x%08x intpr=0x%08x status=0x%08x dma_intp=%d pending=%d issued=%d\n",
 		__func__, serror, intpr, status, hsdevp->dma_interrupt_count,
 		hsdevp->dma_pending[tag], hsdevp->cmd_issued[tag]);
 
@@ -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;
 		}
@@ -612,7 +612,7 @@ static irqreturn_t sata_dwc_isr(int irq, void *dev_instance)
 		tag_mask &= ~(1U << tag);
 		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;
 		}
@@ -707,7 +707,7 @@ static void sata_dwc_dma_xfer_complete(struct ata_port *ap)
 	tag = ap->link.active_tag;
 	qc = ata_qc_from_tag(ap, tag);
 	if (!qc) {
-		dev_err(ap->dev, "failed to get qc");
+		dev_err(ap->dev, "failed to get qc\n");
 		return;
 	}
 
@@ -1186,7 +1186,7 @@ static int sata_dwc_probe(struct platform_device *ofdev)
 	 */
 	err = ata_host_activate(host, irq, sata_dwc_isr, 0, &sata_dwc_sht);
 	if (err) {
-		dev_err(dev, "failed to activate host");
+		dev_err(dev, "failed to activate host\n");
 		goto error_out;
 	}
 
-- 
2.56.1


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [PATCH v3 4/4] ata: sata_gemini: add missing newlines to error messages
  2026-11-26 21:47 [PATCH v3 0/4] ata: add missing newlines to error messages Artem Novak
                   ` (2 preceding siblings ...)
  2026-11-26 21:47 ` [PATCH v3 3/4] ata: sata_dwc_460ex: add missing newlines to error messages Artem Novak
@ 2026-11-26 21:47 ` Artem Novak
  2026-11-27  8:14 ` [PATCH v3 0/4] ata: " Niklas Cassel
  4 siblings, 0 replies; 8+ messages in thread
From: Artem Novak @ 2026-11-26 21:47 UTC (permalink / raw)
  To: dlemoal
  Cc: cassel, linus.walleij, viresh.kumar, linux-ide, linux-kernel,
	Artem Novak

Terminate the SATA clock lookup error messages with newlines
to keep kernel log messages properly separated.

Signed-off-by: Artem Novak <artem122novak@gmail.com>
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
---
 drivers/ata/sata_gemini.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/ata/sata_gemini.c b/drivers/ata/sata_gemini.c
index 9d87603ef531..b69db749b49d 100644
--- a/drivers/ata/sata_gemini.c
+++ b/drivers/ata/sata_gemini.c
@@ -227,12 +227,12 @@ static int gemini_sata_bridge_init(struct sata_gemini *sg)
 
 	sg->sata0_pclk = devm_clk_get(dev, "SATA0_PCLK");
 	if (IS_ERR(sg->sata0_pclk)) {
-		dev_err(dev, "no SATA0 PCLK");
+		dev_err(dev, "no SATA0 PCLK\n");
 		return -ENODEV;
 	}
 	sg->sata1_pclk = devm_clk_get(dev, "SATA1_PCLK");
 	if (IS_ERR(sg->sata1_pclk)) {
-		dev_err(dev, "no SATA1 PCLK");
+		dev_err(dev, "no SATA1 PCLK\n");
 		return -ENODEV;
 	}
 
-- 
2.56.1


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* Re: [PATCH v3 0/4] ata: add missing newlines to error messages
  2026-11-26 21:47 [PATCH v3 0/4] ata: add missing newlines to error messages Artem Novak
                   ` (3 preceding siblings ...)
  2026-11-26 21:47 ` [PATCH v3 4/4] ata: sata_gemini: " Artem Novak
@ 2026-11-27  8:14 ` Niklas Cassel
  2026-11-27 18:18   ` Artem Novak
  4 siblings, 1 reply; 8+ messages in thread
From: Niklas Cassel @ 2026-11-27  8:14 UTC (permalink / raw)
  To: Artem Novak; +Cc: dlemoal, linus.walleij, viresh.kumar, linux-ide, linux-kernel

Hello Artem,

On Thu, Nov 26, 2026 at 03:47:52PM -0600, Artem Novak wrote:
> This series adds missing trailing newlines to error and warning messages
> in four ATA drivers.
> 
> The changes are formatting-only and do not alter driver behaviour.
> 
> Changes in v3:
> - Carry Damien's Reviewed-by tag on all four patches; it was
>   inadvertently included only on the sata_dwc_460ex patch in v2.
> 
> Changes in v2:
> - Fix an additional missing newline in sata_dwc_error_intr(), as pointed
>   out by Damien Le Moal.
> - Add Damien's Reviewed-by tag to the sata_dwc_460ex patch.
> 
> Artem Novak (4):
>   ata: pata_arasan_cf: add missing newline to warning
>   ata: pata_pxa: add missing newline to DMA warning
>   ata: sata_dwc_460ex: add missing newlines to error messages
>   ata: sata_gemini: add missing newlines to error messages
> 
>  drivers/ata/pata_arasan_cf.c |  2 +-
>  drivers/ata/pata_pxa.c       |  2 +-
>  drivers/ata/sata_dwc_460ex.c | 10 +++++-----
>  drivers/ata/sata_gemini.c    |  4 ++--
>  4 files changed, 9 insertions(+), 9 deletions(-)

This series does not apply.

Please base it on:
https://git.kernel.org/pub/scm/linux/kernel/git/libata/linux.git/log/?h=for-next

or linux-next.


Kind regards,
Niklas

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH v3 0/4] ata: add missing newlines to error messages
  2026-11-27  8:14 ` [PATCH v3 0/4] ata: " Niklas Cassel
@ 2026-11-27 18:18   ` Artem Novak
  2026-11-27 18:47     ` Artem Novak
  0 siblings, 1 reply; 8+ messages in thread
From: Artem Novak @ 2026-11-27 18:18 UTC (permalink / raw)
  To: Niklas Cassel
  Cc: dlemoal, linus.walleij, viresh.kumar, linux-ide, linux-kernel

Hey Niklas,

On Fri, Nov 27, 2026 at 2:14 AM Niklas Cassel <cassel@kernel.org> wrote:
>
> This series does not apply.
>
> Please base it on:
> https://git.kernel.org/pub/scm/linux/kernel/git/libata/linux.git/log/?h=for-next
>
> or linux-next.
>

I've rebased the series onto libata for-next for v4.
Thanks.

Artem

>
> Hello Artem,
>
> On Thu, Nov 26, 2026 at 03:47:52PM -0600, Artem Novak wrote:
> > This series adds missing trailing newlines to error and warning messages
> > in four ATA drivers.
> >
> > The changes are formatting-only and do not alter driver behaviour.
> >
> > Changes in v3:
> > - Carry Damien's Reviewed-by tag on all four patches; it was
> >   inadvertently included only on the sata_dwc_460ex patch in v2.
> >
> > Changes in v2:
> > - Fix an additional missing newline in sata_dwc_error_intr(), as pointed
> >   out by Damien Le Moal.
> > - Add Damien's Reviewed-by tag to the sata_dwc_460ex patch.
> >
> > Artem Novak (4):
> >   ata: pata_arasan_cf: add missing newline to warning
> >   ata: pata_pxa: add missing newline to DMA warning
> >   ata: sata_dwc_460ex: add missing newlines to error messages
> >   ata: sata_gemini: add missing newlines to error messages
> >
> >  drivers/ata/pata_arasan_cf.c |  2 +-
> >  drivers/ata/pata_pxa.c       |  2 +-
> >  drivers/ata/sata_dwc_460ex.c | 10 +++++-----
> >  drivers/ata/sata_gemini.c    |  4 ++--
> >  4 files changed, 9 insertions(+), 9 deletions(-)

>
> Kind regards,
> Niklas

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH v3 0/4] ata: add missing newlines to error messages
  2026-11-27 18:18   ` Artem Novak
@ 2026-11-27 18:47     ` Artem Novak
  0 siblings, 0 replies; 8+ messages in thread
From: Artem Novak @ 2026-11-27 18:47 UTC (permalink / raw)
  To: Niklas Cassel
  Cc: dlemoal, linus.walleij, viresh.kumar, linux-ide, linux-kernel

Actually, v5 I meant...

On Fri, Nov 27, 2026 at 12:18 PM Artem Novak <artem122novak@gmail.com> wrote:
>
> Hey Niklas,
>
> On Fri, Nov 27, 2026 at 2:14 AM Niklas Cassel <cassel@kernel.org> wrote:
> >
> > This series does not apply.
> >
> > Please base it on:
> > https://git.kernel.org/pub/scm/linux/kernel/git/libata/linux.git/log/?h=for-next
> >
> > or linux-next.
> >
>
> I've rebased the series onto libata for-next for v4.
> Thanks.
>
> Artem
>
> >
> > Hello Artem,
> >
> > On Thu, Nov 26, 2026 at 03:47:52PM -0600, Artem Novak wrote:
> > > This series adds missing trailing newlines to error and warning messages
> > > in four ATA drivers.
> > >
> > > The changes are formatting-only and do not alter driver behaviour.
> > >
> > > Changes in v3:
> > > - Carry Damien's Reviewed-by tag on all four patches; it was
> > >   inadvertently included only on the sata_dwc_460ex patch in v2.
> > >
> > > Changes in v2:
> > > - Fix an additional missing newline in sata_dwc_error_intr(), as pointed
> > >   out by Damien Le Moal.
> > > - Add Damien's Reviewed-by tag to the sata_dwc_460ex patch.
> > >
> > > Artem Novak (4):
> > >   ata: pata_arasan_cf: add missing newline to warning
> > >   ata: pata_pxa: add missing newline to DMA warning
> > >   ata: sata_dwc_460ex: add missing newlines to error messages
> > >   ata: sata_gemini: add missing newlines to error messages
> > >
> > >  drivers/ata/pata_arasan_cf.c |  2 +-
> > >  drivers/ata/pata_pxa.c       |  2 +-
> > >  drivers/ata/sata_dwc_460ex.c | 10 +++++-----
> > >  drivers/ata/sata_gemini.c    |  4 ++--
> > >  4 files changed, 9 insertions(+), 9 deletions(-)
>
> >
> > Kind regards,
> > Niklas

Artem

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2026-11-27 18:47 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-26 21:47 [PATCH v3 0/4] ata: add missing newlines to error messages Artem Novak
2026-11-26 21:47 ` [PATCH v3 1/4] ata: pata_arasan_cf: add missing newline to warning Artem Novak
2026-11-26 21:47 ` [PATCH v3 2/4] ata: pata_pxa: add missing newline to DMA warning Artem Novak
2026-11-26 21:47 ` [PATCH v3 3/4] ata: sata_dwc_460ex: add missing newlines to error messages Artem Novak
2026-11-26 21:47 ` [PATCH v3 4/4] ata: sata_gemini: " Artem Novak
2026-11-27  8:14 ` [PATCH v3 0/4] ata: " Niklas Cassel
2026-11-27 18:18   ` Artem Novak
2026-11-27 18:47     ` Artem Novak

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.