Re: [PATCH v1 1/3] rust: samples: add missing newlines in rust_print_main
From: Miguel Ojeda
Date: Mon Aug 31 2026 - 20:21:06 EST
On Fri, Aug 28, 2026 at 3:52 AM Mehmet Koseoglu
<mehmet.mkoseoglu@xxxxxxxxx> wrote:
>
> Calls to `pr_info!` in `arc_print` are missing trailing newlines, which
> causes consecutive messages to not be properly line-terminated.
>
> Add the missing `\n` to all four formatting strings.
>
> Fixes: f431c5c581fa ("samples: rust: print: Add sample code for Arc printing")
> Fixes: 47cb6bf7860c ("rust: use derive(CoercePointee) on rustc >= 1.84.0")
> Suggested-by: Miguel Ojeda <ojeda@xxxxxxxxxx>
> Link: https://github.com/Rust-for-Linux/linux/issues/1139
> Signed-off-by: Mehmet Koseoglu <mehmet.mkoseoglu@xxxxxxxxx>
Applied (this one) to `rust-fixes` -- thanks!
[ Reworded to fix the description of the missing-newline behavior.
- Miguel ]
Cheers,
Miguel