Skip to content

author field in module! macro should be a array

Guilherme Giacomo Simoes lkml rust-for-linux 9 versions – Applied

Status from this message: Applied to `rust-next` -- thanks everyone!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v9 Latest2 patches 4 repliesApplied
  2. v82 patches 0 repliesSuperseded
  3. v72 patches 8 repliesSuperseded
Earlier versions · 6
VersionPostedPatchesRepliesStatus
v62 patches20 repliesSuperseded
v52 patches2 repliesSuperseded
v42 patches2 repliesSuperseded
v32 patches3 repliesSuperseded
v22 patches6 repliesSuperseded
v13 patches6 repliesSuperseded

Changes in v9 from the cover letter

- Improved english grammar.
---

Patches in v9 Applied

#Subject and filesSizeRepliesApplied
1/2rust: module: change author to an arraydrivers/block/rnull.rs drivers/net/phy/ax88796b_rust.rs drivers/net/phy/qt2025.rs +11 more+23 -212 replies
2/2checkpatch: check format of Vec<String> in modulesscripts/checkpatch.pl+67 -02 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchCharalampos MitrodimasAlice RyhlAndreas Hindborg
1/2R-b R-b R-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v9 thread

Cover letter [PATCH V9 0/2] author field in module! macro should be a array

In the module! macro, the author field is currently of type String. Since modules can have multiple authors, this limitation prevents specifying more than one.

- Change the author field to Option<Vec<String>> to allow creating modules with multiple authors.

- rename the field from author to authors to make it explicit that it can refer to multiple authors.

- In modules that use the author field, update its value to an array of strings, and also rename it from author to authors.

- Change the checkpatch.pl to find poorly formatted arrays in the macro module!

---
v9 changes
- Improved english grammar.
---

Guilherme Giacomo Simoes (2):
rust: module: change author to an array
checkpatch: check format of Vec<String> in modules

 drivers/block/rnull.rs               |  2 +-
 drivers/net/phy/ax88796b_rust.rs     |  2 +-
 drivers/net/phy/qt2025.rs            |  2 +-
 rust/kernel/net/phy.rs               |  4 +-
 rust/kernel/pci.rs                   |  2 +-
 rust/kernel/platform.rs              |  2 +-
 rust/macros/lib.rs                   |  6 +--
 rust/macros/module.rs                | 12 ++---
 samples/rust/rust_driver_faux.rs     |  2 +-
 samples/rust/rust_driver_pci.rs      |  2 +-
 samples/rust/rust_driver_platform.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                | 67 ++++++++++++++++++++++++++++
 15 files changed, 90 insertions(+), 21 deletions(-)
Signature · 1 line
2.34.1