mirror_ubuntu-kernels/rust/kernel/sync
Alban Kurti 50c3e77eb3 rust: sync: add missing newline in locked_by log example
The pr_info! example in rust/kernel/sync/locked_by.rs was missing
a newline. This patch appends the missing newline to ensure
that log messages for locked resources display correctly.

Fixes: 7b1f55e3a9 ("rust: sync: introduce `LockedBy`")
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>
Link: https://lore.kernel.org/r/20250206-printing_fix-v3-4-a85273b501ae@invicto.ai
[ Replaced Closes with Link since it fixes part of the issue. - Miguel ]
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
2025-03-06 20:44:06 +01:00
..
arc rust: provide proper code documentation titles 2024-10-07 21:39:57 +02:00
lock rust: sync: Add lock::Backend::assert_is_held() 2024-12-19 14:04:42 -08:00
arc.rs rust: kernel: add improved version of ForeignOwnable::borrow_mut 2025-01-13 23:46:07 +01:00
condvar.rs rust: use custom FFI integer types 2024-11-10 23:58:00 +01:00
lock.rs rust: sync: Add lock::Backend::assert_is_held() 2024-12-19 14:04:42 -08:00
locked_by.rs rust: sync: add missing newline in locked_by log example 2025-03-06 20:44:06 +01:00
poll.rs rust: file: add abstraction for poll_table 2024-09-30 13:02:29 +02:00
rcu.rs rust: add rcu abstraction 2024-12-20 17:19:26 +01:00