[PATCH v4 0/2] rust: samples: add missing newlines to printing calls
From: Alban Kurti via B4 Relay
Date: Sun May 04 2025 - 11:41:54 EST
Adding newline at the end of all Rust pr_* and dev_* macro
calls that miss a newline.
`pr_*!` and `dev_*!` macros are supposed to be called
with a newline at the end, just like in the C side
such that independent lines are not visually missed.
There were no dev_*! cases with a missing newline found.
Signed-off-by: Alban Kurti <kurti@xxxxxxxxxx>
---
Changes in v4:
- Split into two patches the 6th patch from v3 addressing separate fixes
- Link to v3: https://lore.kernel.org/rust-for-linux/20250206-printing_fix-v3-0-a85273b501ae@xxxxxxxxxx/
---
Alban Kurti (2):
rust: samples: add missing newline to pr_info! calls in rust_print_main
rust: samples: add missing newline to pr_info! calls in rust_print_main
samples/rust/rust_print_main.rs | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
---
base-commit: b4432656b36e5cc1d50a1f2dc15357543add530e
change-id: 20250504-pr_info-newline-fix-eb51fa205bac
Best regards,
--
Alban Kurti <kurti@xxxxxxxxxx>