author field in module! macro should be a array
cover 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(-)
Signature · 1 line
2.34.1