]> git.hungrycats.org Git - linux/commit
rust: module_param: add missing newline to pr_warn_once
authorKenny Glowner <sisyphuscode0311@gmail.com>
Thu, 21 May 2026 16:14:05 +0000 (11:14 -0500)
committerSami Tolvanen <samitolvanen@google.com>
Thu, 4 Jun 2026 16:42:34 +0000 (16:42 +0000)
commit36d6b929bb0c7cc1cc742d9b5805537d3b651094
treec3fcf8c2ed459f7f6fb9131289f79386267a1afc
parent786d2d84416a9a1c1a47b71a68d679d886284be2
rust: module_param: add missing newline to pr_warn_once

Add a trailing newline ('\n') to the pr_warn_once! call in set_param to
ensure the kernel ring buffer flushes the message correctly and
prevents log line smearing.

Signed-off-by: Kenny Glowner <SisyphusCode0311@gmail.com>
Suggested-by: Miguel Ojeda <ojeda@kernel.org>
Link: https://github.com/Rust-for-Linux/linux/issues/1139
[Sami: Updated the commit message as we use pr_warn_once now.]
Signed-off-by: Sami Tolvanen <samitolvanen@google.com>
rust/kernel/module_param.rs