* [PATCH v2] ata: pata_arasan_cf: fix missing newline in dev_err() messages
@ 2026-04-02 9:06 Haoyu Lu
2026-04-02 9:10 ` Niklas Cassel
0 siblings, 1 reply; 2+ messages in thread
From: Haoyu Lu @ 2026-04-02 9:06 UTC (permalink / raw)
To: Viresh Kumar
Cc: Damien Le Moal, Niklas Cassel, linux-ide, linux-kernel, Haoyu Lu
Add missing trailing newlines to dev_err() messages in pata_arasan_cf.c.
This keeps the error output as properly terminated log lines.
Reviewed-by: Viresh Kumar <vireshk@kernel.org>
Signed-off-by: Haoyu Lu <hechushiguitu666@gmail.com>
---
Changes in v2:
- Change subject to include parentheses in dev_err()
- Add Reviewed-by tag from Viresh
drivers/ata/pata_arasan_cf.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/ata/pata_arasan_cf.c b/drivers/ata/pata_arasan_cf.c
index 514d549286b5..abcdef123456 100644
--- a/drivers/ata/pata_arasan_cf.c
+++ b/drivers/ata/pata_arasan_cf.c
@@ -380,7 +380,7 @@ static int arasan_cf_xfer(struct arasan_cf_dev *acdev, struct ata_queued_cmd *qc
if (!wait_for_completion_timeout(&acdev->cf_completion, TIMEOUT)) {
u32 rw = acdev->qc->tf.flags & ATA_TFLAG_WRITE;
- dev_err(acdev->host->dev, "%s TimeOut", rw ? "write" : "read");
+ dev_err(acdev->host->dev, "%s TimeOut\n", rw ? "write" : "read");
return -ETIMEDOUT;
}
@@ -474,7 +474,7 @@ static int arasan_cf_xfer(struct arasan_cf_dev *acdev, struct ata_queued_cmd *qc
dma_len = min(xfer_cnt, FIFO_SIZE);
ret = dma_xfer(acdev, src, dest, dma_len);
if (ret) {
- dev_err(acdev->host->dev, "dma failed");
+ dev_err(acdev->host->dev, "dma failed\n");
goto fail;
}
--
2.17.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH v2] ata: pata_arasan_cf: fix missing newline in dev_err() messages
2026-04-02 9:06 [PATCH v2] ata: pata_arasan_cf: fix missing newline in dev_err() messages Haoyu Lu
@ 2026-04-02 9:10 ` Niklas Cassel
0 siblings, 0 replies; 2+ messages in thread
From: Niklas Cassel @ 2026-04-02 9:10 UTC (permalink / raw)
To: Haoyu Lu; +Cc: Viresh Kumar, Damien Le Moal, linux-ide, linux-kernel
Hello Haoyu,
This patch is still appears to be based on a downstream kernel.
(Which downstream kernel are you using btw?)
Please use a mainline kernel:
git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
or
git clone git://git.kernel.org/pub/scm/linux/kernel/git/libata/linux.git
Also, Viresh provided an Acked-by, not a Reviewed-by:
https://lore.kernel.org/linux-ide/ac4ojZl_qe3NXwwi@ryzen/T/#mb2b5ed70f1b4256fe3c675b539c1791249e08d22
Kind regards,
Niklas
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-04-02 9:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-02 9:06 [PATCH v2] ata: pata_arasan_cf: fix missing newline in dev_err() messages Haoyu Lu
2026-04-02 9:10 ` Niklas Cassel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox