* [PATCH] samples: rust_dma: add missing newline in dev_info! call
@ 2026-11-23 1:04 Ivan Borovyk
0 siblings, 0 replies; only message in thread
From: Ivan Borovyk @ 2026-11-23 1:04 UTC (permalink / raw)
To: dakr, ojeda
Cc: abdiel.janulgue, daniel.almeida, robin.murphy, a.hindborg, boqun,
gary, bjorn3_gh, lossin, aliceryhl, tmgross, tamird, acourbot,
work, driver-core, rust-for-linux, linux-kernel, Ivan Borovyk
The dev_info! call in the probe function lacks a trailing newline in
its format string, which makes the message run together with the next
line in the kernel log. Add the missing newline.
Suggested-by: Miguel Ojeda <ojeda@kernel.org>
Link: https://github.com/Rust-for-Linux/linux/issues/1139
Signed-off-by: Ivan Borovyk <saref012@gmail.com>
---
samples/rust/rust_dma.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/samples/rust/rust_dma.rs b/samples/rust/rust_dma.rs
index ffb693544673..b4b161896517 100644
--- a/samples/rust/rust_dma.rs
+++ b/samples/rust/rust_dma.rs
@@ -129,7 +129,7 @@ fn drop(self: Pin<&mut Self>) {
for (i, entry) in self.sgt.iter().enumerate() {
dev_info!(
self.pdev,
- "Entry[{}]: DMA address: {:#x}",
+ "Entry[{}]: DMA address: {:#x}\n",
i,
entry.dma_address(),
);
--
2.53.0
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-23 1:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-23 1:04 [PATCH] samples: rust_dma: add missing newline in dev_info! call Ivan Borovyk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox