[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20241118-simplify-result-v2-0-9d280ada516d@iiitd.ac.in>
Date: Mon, 18 Nov 2024 18:42:16 +0530
From: Manas via B4 Relay <devnull+manas18244.iiitd.ac.in@...nel.org>
To: FUJITA Tomonori <fujita.tomonori@...il.com>,
Trevor Gross <tmgross@...ch.edu>, Andrew Lunn <andrew@...n.ch>,
Heiner Kallweit <hkallweit1@...il.com>,
Russell King <linux@...linux.org.uk>,
"David S. Miller" <davem@...emloft.net>, Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>,
Andreas Hindborg <a.hindborg@...nel.org>, Boqun Feng <boqun.feng@...il.com>,
Miguel Ojeda <ojeda@...nel.org>, Alex Gaynor <alex.gaynor@...il.com>,
Gary Guo <gary@...yguo.net>,
Björn Roy Baron <bjorn3_gh@...tonmail.com>,
Benno Lossin <benno.lossin@...ton.me>, Alice Ryhl <aliceryhl@...gle.com>
Cc: Shuah Khan <skhan@...uxfoundation.org>,
Anup Sharma <anupnewsmail@...il.com>, netdev@...r.kernel.org,
rust-for-linux@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-block@...r.kernel.org, Manas <manas18244@...td.ac.in>
Subject: [PATCH v2 0/3] rust: simplify Result<()> uses
Signed-off-by: Manas <manas18244@...td.ac.in>
---
Changes in v2:
- rust: split patches according to various subsystems
- rust: add rationale for change
- qt2025: removed qt2025 patch from this series and sent it separately
to netdev subsystem
Link to qt2025 patch:
https://lore.kernel.org/netdev/20241118-simplify-result-qt2025-v1-1-f2d9cef17fca@iiitd.ac.in/
- Link to v1: https://lore.kernel.org/r/20241117-simplify-result-v1-1-5b01bd230a6b@iiitd.ac.in
---
Manas (3):
rust: block: simplify Result<()> in validate_block_size return
rust: uaccess: simplify Result<()> in bytes_add_one return
rust: macros: simplify Result<()> in function returns
rust/kernel/block/mq/gen_disk.rs | 2 +-
rust/kernel/uaccess.rs | 2 +-
rust/macros/lib.rs | 6 +++---
3 files changed, 5 insertions(+), 5 deletions(-)
---
base-commit: b2603f8ac8217bc59f5c7f248ac248423b9b99cb
change-id: 20241117-simplify-result-cad98af090c9
Best regards,
--
Manas <manas18244@...td.ac.in>
Powered by blists - more mailing lists