* Re: [PATCH] rust: module: remove deprecated author key
2025-06-09 12:22 ` [PATCH] rust: module: remove deprecated author key Guilherme Giacomo Simoes
@ 2025-06-09 17:39 ` Miguel Ojeda
2025-06-09 17:47 ` Danilo Krummrich
2025-06-10 0:57 ` Viresh Kumar
` (4 subsequent siblings)
5 siblings, 1 reply; 16+ messages in thread
From: Miguel Ojeda @ 2025-06-09 17:39 UTC (permalink / raw)
To: Guilherme Giacomo Simoes, Andreas Hindborg, Danilo Krummrich,
Greg KH, Viresh Kumar
Cc: rafael, maarten.lankhorst, mripard, tzimmermann, airlied, simona,
mcgrof, russ.weight, ojeda, alex.gaynor, boqun.feng, gary,
bjorn3_gh, lossin, aliceryhl, tmgross, leitao, david.m.ertman,
ira.weiny, leon, fujita.tomonori, tamird, igor.korotin.linux,
anisse, linux-pm, linux-kernel, nouveau, dri-devel,
rust-for-linux
On Mon, Jun 9, 2025 at 2:22 PM Guilherme Giacomo Simoes
<trintaeoitogc@gmail.com> wrote:
>
> Now that all in-tree modules have migrated to `authors`, remove:
Nit: I would have said "most modules", since we have new/remaining
ones (no need for a new version for this).
I think this patch is OK -- we could wait to do this more cycles, but
if we are doing it, then probably the sooner we do it, the simpler.
> drivers/cpufreq/rcpufreq_dt.rs | 2 +-
> drivers/gpu/drm/nova/nova.rs | 2 +-
> drivers/gpu/nova-core/nova_core.rs | 2 +-
> rust/kernel/firmware.rs | 2 +-
> samples/rust/rust_configfs.rs | 2 +-
> samples/rust/rust_driver_auxiliary.rs | 2 +-
Andreas, Danilo, Greg, Viresh: if nobody is against it, I will apply
it this cycle. Acked-by's for your bits appreciated, of course.
Thanks!
Cheers,
Miguel
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH] rust: module: remove deprecated author key
2025-06-09 17:39 ` Miguel Ojeda
@ 2025-06-09 17:47 ` Danilo Krummrich
2025-06-10 10:02 ` Greg KH
0 siblings, 1 reply; 16+ messages in thread
From: Danilo Krummrich @ 2025-06-09 17:47 UTC (permalink / raw)
To: Miguel Ojeda
Cc: Guilherme Giacomo Simoes, Andreas Hindborg, Greg KH, Viresh Kumar,
rafael, maarten.lankhorst, mripard, tzimmermann, airlied, simona,
mcgrof, russ.weight, ojeda, alex.gaynor, boqun.feng, gary,
bjorn3_gh, lossin, aliceryhl, tmgross, leitao, david.m.ertman,
ira.weiny, leon, fujita.tomonori, tamird, igor.korotin.linux,
anisse, linux-pm, linux-kernel, nouveau, dri-devel,
rust-for-linux
On 09.06.2025 19:39, Miguel Ojeda wrote:
> On Mon, Jun 9, 2025 at 2:22 PM Guilherme Giacomo Simoes
> <trintaeoitogc@gmail.com> wrote:
>>
>> Now that all in-tree modules have migrated to `authors`, remove:
>
> Nit: I would have said "most modules", since we have new/remaining
> ones (no need for a new version for this).
>
> I think this patch is OK -- we could wait to do this more cycles, but
> if we are doing it, then probably the sooner we do it, the simpler.
>
>> drivers/cpufreq/rcpufreq_dt.rs | 2 +-
>> drivers/gpu/drm/nova/nova.rs | 2 +-
>> drivers/gpu/nova-core/nova_core.rs | 2 +-
>> rust/kernel/firmware.rs | 2 +-
>> samples/rust/rust_configfs.rs | 2 +-
>> samples/rust/rust_driver_auxiliary.rs | 2 +-
>
> Andreas, Danilo, Greg, Viresh: if nobody is against it, I will apply
> it this cycle. Acked-by's for your bits appreciated, of course.
Acked-by: Danilo Krummrich <dakr@kernel.org>
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH] rust: module: remove deprecated author key
2025-06-09 17:47 ` Danilo Krummrich
@ 2025-06-10 10:02 ` Greg KH
0 siblings, 0 replies; 16+ messages in thread
From: Greg KH @ 2025-06-10 10:02 UTC (permalink / raw)
To: Danilo Krummrich
Cc: Miguel Ojeda, Guilherme Giacomo Simoes, Andreas Hindborg,
Viresh Kumar, rafael, maarten.lankhorst, mripard, tzimmermann,
airlied, simona, mcgrof, russ.weight, ojeda, alex.gaynor,
boqun.feng, gary, bjorn3_gh, lossin, aliceryhl, tmgross, leitao,
david.m.ertman, ira.weiny, leon, fujita.tomonori, tamird,
igor.korotin.linux, anisse, linux-pm, linux-kernel, nouveau,
dri-devel, rust-for-linux
On Mon, Jun 09, 2025 at 07:47:55PM +0200, Danilo Krummrich wrote:
> On 09.06.2025 19:39, Miguel Ojeda wrote:
> > On Mon, Jun 9, 2025 at 2:22 PM Guilherme Giacomo Simoes
> > <trintaeoitogc@gmail.com> wrote:
> >>
> >> Now that all in-tree modules have migrated to `authors`, remove:
> >
> > Nit: I would have said "most modules", since we have new/remaining
> > ones (no need for a new version for this).
> >
> > I think this patch is OK -- we could wait to do this more cycles, but
> > if we are doing it, then probably the sooner we do it, the simpler.
> >
> >> drivers/cpufreq/rcpufreq_dt.rs | 2 +-
> >> drivers/gpu/drm/nova/nova.rs | 2 +-
> >> drivers/gpu/nova-core/nova_core.rs | 2 +-
> >> rust/kernel/firmware.rs | 2 +-
> >> samples/rust/rust_configfs.rs | 2 +-
> >> samples/rust/rust_driver_auxiliary.rs | 2 +-
> >
> > Andreas, Danilo, Greg, Viresh: if nobody is against it, I will apply
> > it this cycle. Acked-by's for your bits appreciated, of course.
>
> Acked-by: Danilo Krummrich <dakr@kernel.org>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH] rust: module: remove deprecated author key
2025-06-09 12:22 ` [PATCH] rust: module: remove deprecated author key Guilherme Giacomo Simoes
2025-06-09 17:39 ` Miguel Ojeda
@ 2025-06-10 0:57 ` Viresh Kumar
2025-06-10 8:24 ` Andreas Hindborg
` (3 subsequent siblings)
5 siblings, 0 replies; 16+ messages in thread
From: Viresh Kumar @ 2025-06-10 0:57 UTC (permalink / raw)
To: Guilherme Giacomo Simoes
Cc: rafael, dakr, maarten.lankhorst, mripard, tzimmermann, airlied,
simona, mcgrof, russ.weight, ojeda, alex.gaynor, boqun.feng, gary,
bjorn3_gh, lossin, a.hindborg, aliceryhl, tmgross, leitao, gregkh,
david.m.ertman, ira.weiny, leon, fujita.tomonori, tamird,
igor.korotin.linux, walmeida, anisse, linux-pm, linux-kernel,
nouveau, dri-devel, rust-for-linux
On 09-06-25, 09:22, Guilherme Giacomo Simoes wrote:
> Commit 38559da6afb2 ("rust: module: introduce `authors` key") introduced
> a new `authors` key to support multiple module authors, while keeping
> the old `author` key for backward compatibility.
>
> Now that all in-tree modules have migrated to `authors`, remove:
> 1. The deprecated `author` key support from the module macro
> 2. Legacy `author` entries from remaining modules
>
> Signed-off-by: Guilherme Giacomo Simoes <trintaeoitogc@gmail.com>
> ---
> drivers/cpufreq/rcpufreq_dt.rs | 2 +-
> diff --git a/drivers/cpufreq/rcpufreq_dt.rs b/drivers/cpufreq/rcpufreq_dt.rs
> index 94ed81644fe1..bdf4b844de42 100644
> --- a/drivers/cpufreq/rcpufreq_dt.rs
> +++ b/drivers/cpufreq/rcpufreq_dt.rs
> @@ -220,7 +220,7 @@ fn probe(
> module_platform_driver! {
> type: CPUFreqDTDriver,
> name: "cpufreq-dt",
> - author: "Viresh Kumar <viresh.kumar@linaro.org>",
> + authors: ["Viresh Kumar <viresh.kumar@linaro.org>"],
> description: "Generic CPUFreq DT driver",
> license: "GPL v2",
> }
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
--
viresh
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH] rust: module: remove deprecated author key
2025-06-09 12:22 ` [PATCH] rust: module: remove deprecated author key Guilherme Giacomo Simoes
2025-06-09 17:39 ` Miguel Ojeda
2025-06-10 0:57 ` Viresh Kumar
@ 2025-06-10 8:24 ` Andreas Hindborg
2025-06-10 8:56 ` Benno Lossin
` (2 subsequent siblings)
5 siblings, 0 replies; 16+ messages in thread
From: Andreas Hindborg @ 2025-06-10 8:24 UTC (permalink / raw)
To: Guilherme Giacomo Simoes
Cc: rafael, viresh.kumar, dakr, maarten.lankhorst, mripard,
tzimmermann, airlied, simona, mcgrof, russ.weight, ojeda,
alex.gaynor, boqun.feng, gary, bjorn3_gh, lossin, aliceryhl,
tmgross, leitao, gregkh, david.m.ertman, ira.weiny, leon,
fujita.tomonori, tamird, igor.korotin.linux, walmeida, anisse,
linux-pm, linux-kernel, nouveau, dri-devel, rust-for-linux
"Guilherme Giacomo Simoes" <trintaeoitogc@gmail.com> writes:
> Commit 38559da6afb2 ("rust: module: introduce `authors` key") introduced
> a new `authors` key to support multiple module authors, while keeping
> the old `author` key for backward compatibility.
>
> Now that all in-tree modules have migrated to `authors`, remove:
> 1. The deprecated `author` key support from the module macro
> 2. Legacy `author` entries from remaining modules
>
> Signed-off-by: Guilherme Giacomo Simoes <trintaeoitogc@gmail.com>
Acked-by: Andreas Hindborg <a.hindborg@kernel.org>
Best regards,
Andreas Hindborg
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH] rust: module: remove deprecated author key
2025-06-09 12:22 ` [PATCH] rust: module: remove deprecated author key Guilherme Giacomo Simoes
` (2 preceding siblings ...)
2025-06-10 8:24 ` Andreas Hindborg
@ 2025-06-10 8:56 ` Benno Lossin
2025-06-10 8:57 ` Benno Lossin
2025-06-23 23:13 ` Miguel Ojeda
5 siblings, 0 replies; 16+ messages in thread
From: Benno Lossin @ 2025-06-10 8:56 UTC (permalink / raw)
To: Guilherme Giacomo Simoes, rafael, viresh.kumar, dakr,
maarten.lankhorst, mripard, tzimmermann, airlied, simona, mcgrof,
russ.weight, ojeda, alex.gaynor, boqun.feng, gary, bjorn3_gh,
a.hindborg, aliceryhl, tmgross, leitao, gregkh, david.m.ertman,
ira.weiny, leon, fujita.tomonori, tamird, igor.korotin.linux,
walmeida, anisse
Cc: linux-pm, linux-kernel, nouveau, dri-devel, rust-for-linux
On Mon Jun 9, 2025 at 2:22 PM CEST, Guilherme Giacomo Simoes wrote:
> Commit 38559da6afb2 ("rust: module: introduce `authors` key") introduced
> a new `authors` key to support multiple module authors, while keeping
> the old `author` key for backward compatibility.
>
> Now that all in-tree modules have migrated to `authors`, remove:
> 1. The deprecated `author` key support from the module macro
> 2. Legacy `author` entries from remaining modules
>
> Signed-off-by: Guilherme Giacomo Simoes <trintaeoitogc@gmail.com>
> ---
> drivers/cpufreq/rcpufreq_dt.rs | 2 +-
> drivers/gpu/drm/nova/nova.rs | 2 +-
> drivers/gpu/nova-core/nova_core.rs | 2 +-
> rust/kernel/firmware.rs | 2 +-
> rust/macros/module.rs | 6 ------
> samples/rust/rust_configfs.rs | 2 +-
> samples/rust/rust_driver_auxiliary.rs | 2 +-
> 7 files changed, 6 insertions(+), 12 deletions(-)
Reviewed-by: Benno Lossin <lossin@kernel.org>
---
Cheers,
Benno
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH] rust: module: remove deprecated author key
2025-06-09 12:22 ` [PATCH] rust: module: remove deprecated author key Guilherme Giacomo Simoes
` (3 preceding siblings ...)
2025-06-10 8:56 ` Benno Lossin
@ 2025-06-10 8:57 ` Benno Lossin
2025-06-10 10:03 ` Miguel Ojeda
2025-06-23 23:13 ` Miguel Ojeda
5 siblings, 1 reply; 16+ messages in thread
From: Benno Lossin @ 2025-06-10 8:57 UTC (permalink / raw)
To: Guilherme Giacomo Simoes, rafael, viresh.kumar, dakr,
maarten.lankhorst, mripard, tzimmermann, airlied, simona, mcgrof,
russ.weight, ojeda, alex.gaynor, boqun.feng, gary, bjorn3_gh,
a.hindborg, aliceryhl, tmgross, leitao, gregkh, david.m.ertman,
ira.weiny, leon, fujita.tomonori, tamird, igor.korotin.linux,
walmeida, anisse
Cc: linux-pm, linux-kernel, nouveau, dri-devel, rust-for-linux
On Mon Jun 9, 2025 at 2:22 PM CEST, Guilherme Giacomo Simoes wrote:
> diff --git a/drivers/gpu/nova-core/nova_core.rs b/drivers/gpu/nova-core/nova_core.rs
> index 618632f0abcc..f405d7a99c28 100644
> --- a/drivers/gpu/nova-core/nova_core.rs
> +++ b/drivers/gpu/nova-core/nova_core.rs
> @@ -13,7 +13,7 @@
> kernel::module_pci_driver! {
> type: driver::NovaCore,
> name: "NovaCore",
> - author: "Danilo Krummrich",
> + authors: ["Danilo Krummrich"],
Unrelated to this change, I think we should add email addresses to
people in authors. Possibly enforce it by scanning each author element
and checking if there is an email address.
> description: "Nova Core GPU driver",
> license: "GPL v2",
> firmware: [],
> diff --git a/rust/kernel/firmware.rs b/rust/kernel/firmware.rs
> index 2494c96e105f..ed2fc20cba9b 100644
> --- a/rust/kernel/firmware.rs
> +++ b/rust/kernel/firmware.rs
> @@ -181,7 +181,7 @@ unsafe impl Sync for Firmware {}
> /// module! {
> /// type: MyModule,
> /// name: "module_firmware_test",
> -/// author: "Rust for Linux",
> +/// authors: ["Rust for Linux"],
We would need to special case "Rust for Linux Developers" or something
similar. But in several cases -- such as this one, we should just name
the actual authors.
What do you guys think?
---
Cheers,
Benno
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH] rust: module: remove deprecated author key
2025-06-10 8:57 ` Benno Lossin
@ 2025-06-10 10:03 ` Miguel Ojeda
2025-06-10 10:09 ` Miguel Ojeda
2025-06-10 10:12 ` Benno Lossin
0 siblings, 2 replies; 16+ messages in thread
From: Miguel Ojeda @ 2025-06-10 10:03 UTC (permalink / raw)
To: Benno Lossin
Cc: Guilherme Giacomo Simoes, rafael, viresh.kumar, dakr,
maarten.lankhorst, mripard, tzimmermann, airlied, simona, mcgrof,
russ.weight, ojeda, alex.gaynor, boqun.feng, gary, bjorn3_gh,
a.hindborg, aliceryhl, tmgross, leitao, gregkh, david.m.ertman,
ira.weiny, leon, fujita.tomonori, tamird, igor.korotin.linux,
walmeida, anisse, linux-pm, linux-kernel, nouveau, dri-devel,
rust-for-linux
On Tue, Jun 10, 2025 at 10:58 AM Benno Lossin <lossin@kernel.org> wrote:
>
> Unrelated to this change, I think we should add email addresses to
> people in authors. Possibly enforce it by scanning each author element
> and checking if there is an email address.
Sounds good to me, but I am not sure if it is possible in all cases.
At least looking at C, there are company names too.
I even saw a URL...
Cheers,
Miguel
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH] rust: module: remove deprecated author key
2025-06-10 10:03 ` Miguel Ojeda
@ 2025-06-10 10:09 ` Miguel Ojeda
2025-06-10 10:12 ` Benno Lossin
1 sibling, 0 replies; 16+ messages in thread
From: Miguel Ojeda @ 2025-06-10 10:09 UTC (permalink / raw)
To: Benno Lossin
Cc: Guilherme Giacomo Simoes, rafael, viresh.kumar, dakr,
maarten.lankhorst, mripard, tzimmermann, airlied, simona, mcgrof,
russ.weight, ojeda, alex.gaynor, boqun.feng, gary, bjorn3_gh,
a.hindborg, aliceryhl, tmgross, leitao, gregkh, david.m.ertman,
ira.weiny, leon, fujita.tomonori, tamird, igor.korotin.linux,
walmeida, anisse, linux-pm, linux-kernel, nouveau, dri-devel,
rust-for-linux
On Tue, Jun 10, 2025 at 12:03 PM Miguel Ojeda
<miguel.ojeda.sandonis@gmail.com> wrote:
>
> I even saw a URL...
i.e. as the sole thing, not as an addition to a company name:
MODULE_AUTHOR("https://www.comedi.org");
Perhaps we could have a new key or similar for companies/entities, but
I am not sure if it is important, and we should probably do it in the
C side too in that case.
After all, we can get contact details from the Git log, `MAINTAINERS`, etc.
Cheers,
Miguel
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH] rust: module: remove deprecated author key
2025-06-10 10:03 ` Miguel Ojeda
2025-06-10 10:09 ` Miguel Ojeda
@ 2025-06-10 10:12 ` Benno Lossin
2025-06-10 10:16 ` Miguel Ojeda
1 sibling, 1 reply; 16+ messages in thread
From: Benno Lossin @ 2025-06-10 10:12 UTC (permalink / raw)
To: Miguel Ojeda
Cc: Guilherme Giacomo Simoes, rafael, viresh.kumar, dakr,
maarten.lankhorst, mripard, tzimmermann, airlied, simona, mcgrof,
russ.weight, ojeda, alex.gaynor, boqun.feng, gary, bjorn3_gh,
a.hindborg, aliceryhl, tmgross, leitao, gregkh, david.m.ertman,
ira.weiny, leon, fujita.tomonori, tamird, igor.korotin.linux,
walmeida, anisse, linux-pm, linux-kernel, nouveau, dri-devel,
rust-for-linux
On Tue Jun 10, 2025 at 12:03 PM CEST, Miguel Ojeda wrote:
> On Tue, Jun 10, 2025 at 10:58 AM Benno Lossin <lossin@kernel.org> wrote:
>>
>> Unrelated to this change, I think we should add email addresses to
>> people in authors. Possibly enforce it by scanning each author element
>> and checking if there is an email address.
>
> Sounds good to me, but I am not sure if it is possible in all cases.
>
> At least looking at C, there are company names too.
>
> I even saw a URL...
Hmm, I guess a checkpatch lint fits better then?
---
Cheers,
Benno
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH] rust: module: remove deprecated author key
2025-06-10 10:12 ` Benno Lossin
@ 2025-06-10 10:16 ` Miguel Ojeda
2025-06-10 12:37 ` Guilherme Giacomo Simoes
0 siblings, 1 reply; 16+ messages in thread
From: Miguel Ojeda @ 2025-06-10 10:16 UTC (permalink / raw)
To: Benno Lossin
Cc: Guilherme Giacomo Simoes, rafael, viresh.kumar, dakr,
maarten.lankhorst, mripard, tzimmermann, airlied, simona, mcgrof,
russ.weight, ojeda, alex.gaynor, boqun.feng, gary, bjorn3_gh,
a.hindborg, aliceryhl, tmgross, leitao, gregkh, david.m.ertman,
ira.weiny, leon, fujita.tomonori, tamird, igor.korotin.linux,
walmeida, anisse, linux-pm, linux-kernel, nouveau, dri-devel,
rust-for-linux
On Tue, Jun 10, 2025 at 12:12 PM Benno Lossin <lossin@kernel.org> wrote:
>
> Hmm, I guess a checkpatch lint fits better then?
Yeah, that would work.
Probably for the C side too -- from a quick grep I don't see it.
Cheers,
Miguel
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH] rust: module: remove deprecated author key
2025-06-10 10:16 ` Miguel Ojeda
@ 2025-06-10 12:37 ` Guilherme Giacomo Simoes
2025-06-10 12:46 ` Miguel Ojeda
2025-06-10 12:55 ` Benno Lossin
0 siblings, 2 replies; 16+ messages in thread
From: Guilherme Giacomo Simoes @ 2025-06-10 12:37 UTC (permalink / raw)
To: miguel.ojeda.sandonis
Cc: a.hindborg, airlied, alex.gaynor, aliceryhl, anisse, bjorn3_gh,
boqun.feng, dakr, david.m.ertman, dri-devel, fujita.tomonori,
gary, gregkh, igor.korotin.linux, ira.weiny, leitao, leon,
linux-kernel, linux-pm, lossin, maarten.lankhorst, mcgrof,
mripard, nouveau, ojeda, rafael, russ.weight, rust-for-linux,
simona, tamird, tmgross, trintaeoitogc, tzimmermann, viresh.kumar,
walmeida
Miguel Ojeda <miguel.ojeda.sandonis@gmail.com> wrotes:
> On Tue, Jun 10, 2025 at 12:12 PM Benno Lossin <lossin@kernel.org> wrote:
> >
> > Hmm, I guess a checkpatch lint fits better then?
>
> Yeah, that would work.
>
> Probably for the C side too -- from a quick grep I don't see it.
Maybe, after this patch we can make a checkpatch change for check the `authors`
key (and MODULE_AUTHOR for C side), and throw a WARN if the author is a name
(not a url, or "rust for linux") and don't have a email address.
Unless you guys tell me otherwise, I guess this is not so priority.
Thanks,
Guilherme
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH] rust: module: remove deprecated author key
2025-06-10 12:37 ` Guilherme Giacomo Simoes
@ 2025-06-10 12:46 ` Miguel Ojeda
2025-06-10 12:55 ` Benno Lossin
1 sibling, 0 replies; 16+ messages in thread
From: Miguel Ojeda @ 2025-06-10 12:46 UTC (permalink / raw)
To: Guilherme Giacomo Simoes
Cc: a.hindborg, airlied, alex.gaynor, aliceryhl, anisse, bjorn3_gh,
boqun.feng, dakr, david.m.ertman, dri-devel, fujita.tomonori,
gary, gregkh, igor.korotin.linux, ira.weiny, leitao, leon,
linux-kernel, linux-pm, lossin, maarten.lankhorst, mcgrof,
mripard, nouveau, ojeda, rafael, russ.weight, rust-for-linux,
simona, tamird, tmgross, tzimmermann, viresh.kumar, walmeida
On Tue, Jun 10, 2025 at 2:37 PM Guilherme Giacomo Simoes
<trintaeoitogc@gmail.com> wrote:
>
> Maybe, after this patch we can make a checkpatch change for check the `authors`
> key (and MODULE_AUTHOR for C side), and throw a WARN if the author is a name
> (not a url, or "rust for linux") and don't have a email address.
>
> Unless you guys tell me otherwise, I guess this is not so priority.
It is not a priority, and even if it were, it would be an independent
change, i.e. not for this patch series, so no worries :)
Cheers,
Miguel
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH] rust: module: remove deprecated author key
2025-06-10 12:37 ` Guilherme Giacomo Simoes
2025-06-10 12:46 ` Miguel Ojeda
@ 2025-06-10 12:55 ` Benno Lossin
1 sibling, 0 replies; 16+ messages in thread
From: Benno Lossin @ 2025-06-10 12:55 UTC (permalink / raw)
To: Guilherme Giacomo Simoes, miguel.ojeda.sandonis
Cc: a.hindborg, airlied, alex.gaynor, aliceryhl, anisse, bjorn3_gh,
boqun.feng, dakr, david.m.ertman, dri-devel, fujita.tomonori,
gary, gregkh, igor.korotin.linux, ira.weiny, leitao, leon,
linux-kernel, linux-pm, maarten.lankhorst, mcgrof, mripard,
nouveau, ojeda, rafael, russ.weight, rust-for-linux, simona,
tamird, tmgross, tzimmermann, viresh.kumar, walmeida
On Tue Jun 10, 2025 at 2:37 PM CEST, Guilherme Giacomo Simoes wrote:
> Miguel Ojeda <miguel.ojeda.sandonis@gmail.com> wrotes:
>> On Tue, Jun 10, 2025 at 12:12 PM Benno Lossin <lossin@kernel.org> wrote:
>> >
>> > Hmm, I guess a checkpatch lint fits better then?
>>
>> Yeah, that would work.
>>
>> Probably for the C side too -- from a quick grep I don't see it.
> Maybe, after this patch we can make a checkpatch change for check the `authors`
> key (and MODULE_AUTHOR for C side), and throw a WARN if the author is a name
> (not a url, or "rust for linux") and don't have a email address.
Most other authors fields that don't list explicit names use "Rust for
Linux Contributors", so we should probably scan for that instead.
But I think that we should no longer add any author fields using that.
Things with that are from way back in the day (when RfL was still out of
tree) where many people contributed to a single file, hence the use of
that phrase.
> Unless you guys tell me otherwise, I guess this is not so priority.
Yeah this isn't high priority. We can just make this into a
good-first-issue, then someone can eventually pick it up.
---
Cheers,
Benno
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH] rust: module: remove deprecated author key
2025-06-09 12:22 ` [PATCH] rust: module: remove deprecated author key Guilherme Giacomo Simoes
` (4 preceding siblings ...)
2025-06-10 8:57 ` Benno Lossin
@ 2025-06-23 23:13 ` Miguel Ojeda
5 siblings, 0 replies; 16+ messages in thread
From: Miguel Ojeda @ 2025-06-23 23:13 UTC (permalink / raw)
To: Guilherme Giacomo Simoes
Cc: rafael, viresh.kumar, dakr, maarten.lankhorst, mripard,
tzimmermann, airlied, simona, mcgrof, russ.weight, ojeda,
alex.gaynor, boqun.feng, gary, bjorn3_gh, lossin, a.hindborg,
aliceryhl, tmgross, leitao, gregkh, david.m.ertman, ira.weiny,
leon, fujita.tomonori, tamird, igor.korotin.linux, walmeida,
anisse, linux-pm, linux-kernel, nouveau, dri-devel,
rust-for-linux
On Mon, Jun 9, 2025 at 2:22 PM Guilherme Giacomo Simoes
<trintaeoitogc@gmail.com> wrote:
>
> Commit 38559da6afb2 ("rust: module: introduce `authors` key") introduced
> a new `authors` key to support multiple module authors, while keeping
> the old `author` key for backward compatibility.
>
> Now that all in-tree modules have migrated to `authors`, remove:
> 1. The deprecated `author` key support from the module macro
> 2. Legacy `author` entries from remaining modules
>
> Signed-off-by: Guilherme Giacomo Simoes <trintaeoitogc@gmail.com>
Applied to `rust-next` -- thanks everyone!
[ Reworded slightly. - Miguel ]
I don't see any new/missing ones in -next, so this should be clean. Let's see...
Cheers,
Miguel
^ permalink raw reply [flat|nested] 16+ messages in thread