Re: [PATCH] rust_binder: add missing newlines to log messages

From: Alice Ryhl

Date: Mon Sep 07 2026 - 10:08:33 EST


On Mon, Sep 07, 2026 at 08:51:39AM +0000, Advaith Vecham wrote:
> The kernel printing macros don't append a newline automatically (with
> the way pr_*!() works), so the error message gets concatenated onto the
> next line in the kernel log during these warnings, errors, etc. Add
> '\n' to the end of error, warning, and debug messages.
>
> Suggested-by: Miguel Ojeda <ojeda@xxxxxxxxxx>
> Link: https://github.com/Rust-for-Linux/linux/issues/1139
> Signed-off-by: Advaith Vecham <advaiv2@xxxxxx>

Thanks! Unfortunately my patch series that changes all calls to
pr_*_ratelimited! already makes this change.

Alice