[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250212194717.191979-1-trintaeoitogc@gmail.com>
Date: Wed, 12 Feb 2025 16:47:14 -0300
From: Guilherme Giacomo Simoes <trintaeoitogc@...il.com>
To: a.hindborg@...nel.org,
alex.gaynor@...il.com,
aliceryhl@...gle.com,
apw@...onical.com,
arnd@...db.de,
aswinunni01@...il.com,
axboe@...nel.dk,
benno.lossin@...ton.me,
bhelgaas@...gle.com,
bjorn3_gh@...tonmail.com,
boqun.feng@...il.com,
dakr@...nel.org,
dwaipayanray1@...il.com,
ethan.twardy@...il.com,
fujita.tomonori@...il.com,
gary@...yguo.net,
gregkh@...uxfoundation.org,
joe@...ches.com,
lukas.bulwahn@...il.com,
ojeda@...nel.org,
pbonzini@...hat.com,
tmgross@...ch.edu,
walmeida@...rosoft.com
Cc: trintaeoitogc@...il.com,
rust-for-linux@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [PATCH 0/3] author field in module! macro should be a array
In the module! macro, the author field has a string type. Once that the
modules can has more than one author, this is impossible in the current
scenary.
- Change the author field for accept a array string type and enable
module creations with more than one author.
- In modules that use the author field, change its value to a string
array.
- Change the check patch to find poorly formatted arrays in the macro
module!
Guilherme Giacomo Simoes (3):
rust: module: change author to be a array
rust: macros: change author field to array
checkpatch: throw error in malformed arrays
drivers/block/rnull.rs | 2 +-
rust/kernel/net/phy.rs | 4 +-
rust/kernel/pci.rs | 2 +-
rust/macros/lib.rs | 4 +-
rust/macros/module.rs | 8 ++--
samples/rust/rust_driver_pci.rs | 2 +-
samples/rust/rust_minimal.rs | 2 +-
samples/rust/rust_misc_device.rs | 2 +-
samples/rust/rust_print_main.rs | 2 +-
scripts/checkpatch.pl | 68 ++++++++++++++++++++++++++++++++
10 files changed, 83 insertions(+), 13 deletions(-)
--
2.34.1
Powered by blists - more mailing lists