[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250206-printing_fix-v3-0-a85273b501ae@invicto.ai>
Date: Thu, 06 Feb 2025 21:07:50 +0000 (UTC)
From: Alban Kurti <kurti@...icto.ai>
To: Miguel Ojeda <ojeda@...nel.org>, Alex Gaynor <alex.gaynor@...il.com>,
Boqun Feng <boqun.feng@...il.com>, Gary Guo <gary@...yguo.net>,
Björn Roy Baron <bjorn3_gh@...tonmail.com>,
Benno Lossin <benno.lossin@...ton.me>,
Andreas Hindborg <a.hindborg@...nel.org>, Alice Ryhl <aliceryhl@...gle.com>,
Trevor Gross <tmgross@...ch.edu>, Jonathan Corbet <corbet@....net>,
David Gow <davidgow@...gle.com>, Dirk Behme <dirk.behme@...bosch.com>,
Asahi Lina <lina@...hilina.net>, Wedson Almeida Filho <wedsonaf@...il.com>,
Wedson Almeida Filho <walmeida@...rosoft.com>,
"Andreas Hindborg (Samsung)" <nmi@...aspace.dk>, Tejun Heo <tj@...nel.org>,
Fiona Behrens <me@...enk.dev>,
Vincenzo Palazzo <vincenzopalazzodev@...il.com>,
Xiangfei Ding <dingxiangfei2009@...il.com>
Cc: rust-for-linux@...r.kernel.org, linux-doc@...r.kernel.org,
linux-kernel@...r.kernel.org, Alban Kurti <kurti@...icto.ai>,
Martin Rodriguez Reboredo <yakoyoku@...il.com>,
Fox Chen <foxhlchen@...il.com>
Subject: [PATCH v3 0/6] rust: treewide: add missing newlines to printing
calls
Adding newline at the end of all Rust pr_* and dev_* macro
calls that miss a newline.
`pr_*!` and `dev_*!` macros are supposed to be called
with a newline at the end, just like in the C side
such that independent lines are not visually missed.
There were no dev_*! cases with a missing newline found.
Signed-off-by: Alban Kurti <kurti@...icto.ai>
---
Changes in v3:
- Same code changes to v2, but split patches into multiple patches
and improved the descriptions
---
Alban Kurti (6):
rust: docs: add missing newline to printing macro examples
rust: error: add missing newline to pr_warn! calls
rust: init: add missing newline to pr_info! calls
rust: sync: add missing newline in locked_by log example
rust: workqueue: add missing newline to pr_info! examples
rust: samples: add missing newline to pr_info! calls in rust_print_main
Documentation/rust/testing.rst | 2 +-
rust/kernel/error.rs | 2 +-
rust/kernel/init.rs | 12 ++++++------
rust/kernel/init/macros.rs | 6 +++---
rust/kernel/sync/locked_by.rs | 2 +-
rust/kernel/workqueue.rs | 6 +++---
samples/rust/rust_print_main.rs | 8 ++++----
7 files changed, 19 insertions(+), 19 deletions(-)
---
base-commit: ceff0757f5dafb5be5205988171809c877b1d3e3
change-id: 20250206-printing_fix-e7a7950b9e7c
Best regards,
--
Alban Kurti <kurti@...icto.ai>
Powered by blists - more mailing lists