]> www.infradead.org Git - users/jedix/linux-maple.git/commit
rust: workqueue: add missing newline to pr_info! examples
authorAlban Kurti <kurti@invicto.ai>
Thu, 6 Feb 2025 21:07:56 +0000 (21:07 +0000)
committerMiguel Ojeda <ojeda@kernel.org>
Thu, 6 Mar 2025 19:44:06 +0000 (20:44 +0100)
commit0ea4c3906416cefd6ae7ae5e93af9f2ef1b8c39b
tree778b4824879abb77125a198e0cb91a2c34d1912d
parent50c3e77eb3712a039760345999709ee0fad83447
rust: workqueue: add missing newline to pr_info! examples

The documentation examples in rust/kernel/workqueue.rs use pr_info!
calls that lack a trailing newline. To maintain consistency with
kernel logging practices, this patch adds the newline to all
affected examples.

Fixes: 15b286d1fd05 ("rust: workqueue: add examples")
Reported-by: Miguel Ojeda <ojeda@kernel.org>
Link: https://github.com/Rust-for-Linux/linux/issues/1139
Signed-off-by: Alban Kurti <kurti@invicto.ai>
Reviewed-by: Alice Ryhl <aliceryhl@google.com>
Link: https://lore.kernel.org/r/20250206-printing_fix-v3-5-a85273b501ae@invicto.ai
[ Replaced Closes with Link since it fixes part of the issue. - Miguel ]
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
rust/kernel/workqueue.rs