lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250504-pr_info-newline-fix-v4-0-53467c401eb6@invicto.ai>
Date: Sun, 04 May 2025 17:41:13 +0200
From: Alban Kurti via B4 Relay <devnull+kurti.invicto.ai@...nel.org>
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>, Danilo Krummrich <dakr@...nel.org>, 
 Vincenzo Palazzo <vincenzopalazzodev@...il.com>, 
 Xiangfei Ding <dingxiangfei2009@...il.com>
Cc: Fiona Behrens <me@...enk.dev>, Alban Kurti <kurti@...icto.ai>, 
 rust-for-linux@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH v4 0/2] rust: samples: 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 v4:
- Split into two patches the 6th patch from v3 addressing separate fixes
- Link to v3: https://lore.kernel.org/rust-for-linux/20250206-printing_fix-v3-0-a85273b501ae@invicto.ai/

---
Alban Kurti (2):
      rust: samples: add missing newline to pr_info! calls in rust_print_main
      rust: samples: add missing newline to pr_info! calls in rust_print_main

 samples/rust/rust_print_main.rs | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
---
base-commit: b4432656b36e5cc1d50a1f2dc15357543add530e
change-id: 20250504-pr_info-newline-fix-eb51fa205bac

Best regards,
-- 
Alban Kurti <kurti@...icto.ai>



Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ