]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
rust: error: add missing newline to pr_warn! calls
authorAlban Kurti <kurti@invicto.ai>
Thu, 6 Feb 2025 21:07:53 +0000 (21:07 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 22 Mar 2025 19:54:26 +0000 (12:54 -0700)
commit4ec50b0cead5a1894b837ae216d8ea2da4b390de
tree682492da7c2a21a79fbba837f9c6bc9336a8259e
parenta46a9371f8b9a0eeff53a21e11ed3b65f52d9cf6
rust: error: add missing newline to pr_warn! calls

[ Upstream commit 6f5c36f56d475732981dcf624e0ac0cc7c8984c8 ]

Added missing newline at the end of pr_warn! usage
so the log is not missed.

Fixes: 6551a7fe0acb ("rust: error: Add Error::from_errno{_unchecked}()")
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-2-a85273b501ae@invicto.ai
[ Replaced Closes with Link since it fixes part of the issue. - Miguel ]
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
rust/kernel/error.rs