MAINTAINERS: Fix list entries with display names
PATCH RESEND 1/1 MAINTAINERS: Fix list entries with display names
get_maintainers.pl doesn't expect list entries to have a display name. Entries with a display name are omitted and print just the description:
(open list:PIN CONTROLLER - FREESCALE)
These cases are pretty much aliases to a few people, not lists which are archived and can be subscribed to. Change these cases to be reviewers instead.
--- MAINTAINERS | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)
MAINTAINERS +5 -5
@@ -2830,7 +2830,7 @@ ARM/NXP S32G ARCHITECTURE R: Chester Lin <[email protected]> R: Matthias Brugger <[email protected]> R: Ghennadi Procopciuc <[email protected]> -L: NXP S32 Linux Team <[email protected]> +R: NXP S32 Linux Team <[email protected]> L: [email protected] (moderated for non-subscribers) S: Maintained F: arch/arm64/boot/dts/freescale/s32g*.dts*
@@ -16604,8 +16604,8 @@ F: arch/nios2/ NITRO ENCLAVES (NE) M: Alexandru Ciobotaru <[email protected]> +R: The AWS Nitro Enclaves Team <[email protected]> L: [email protected] -L: The AWS Nitro Enclaves Team <[email protected]> S: Supported W: https://aws.amazon.com/ec2/nitro/nitro-enclaves/ F: Documentation/virt/ne_overview.rst
@@ -16616,8 +16616,8 @@ F: samples/nitro_enclaves/ NITRO SECURE MODULE (NSM) M: Alexander Graf <[email protected]> +R: The AWS Nitro Enclaves Team <[email protected]> L: [email protected] -L: The AWS Nitro Enclaves Team <[email protected]> S: Supported W: https://aws.amazon.com/ec2/nitro/nitro-enclaves/ F: drivers/misc/nsm.c
@@ -18429,8 +18429,8 @@ M: Fabio Estevam <[email protected]> M: Shawn Guo <[email protected]> M: Jacky Bai <[email protected]> R: Pengutronix Kernel Team <[email protected]> +R: NXP S32 Linux Team <[email protected]> L: [email protected] -L: NXP S32 Linux Team <[email protected]> S: Maintained F: Documentation/devicetree/bindings/pinctrl/fsl,* F: Documentation/devicetree/bindings/pinctrl/nxp,s32*
@@ -19565,7 +19565,7 @@ F: drivers/ras/amd/fmpm.c RASPBERRY PI PISP BACK END M: Jacopo Mondi <[email protected]> -L: Raspberry Pi Kernel Maintenance <[email protected]> +R: Raspberry Pi Kernel Maintenance <[email protected]> L: [email protected] S: Maintained F: Documentation/devicetree/bindings/media/raspberrypi,pispbe.yaml
Signature · 1 line
2.45.2
Quoted 8 lines · On Tue, 31 Dec 2024 09:54:14 -0600 "Rob Herring (Arm)" <[email protected]> wrote:
get_maintainers.pl doesn't expect list entries to have a display name. Entries with a display name are omitted and print just the description:
(open list:PIN CONTROLLER - FREESCALE)
These cases are pretty much aliases to a few people, not lists which are archived and can be subscribed to. Change these cases to be reviewers instead.
Feels a bit wrong. Are you sure that *all* of the below "lists" are not really lists? If so then OK I suppose. Or perhaps we should have a new MAINTAINERS tag to cover this situation.
And shouldn't get_maintainer be made to be more friendly in its handling of these entries? Omitting the email address seems kinda dumb.
Quoted 8 lines · Andrew Morton
Quoted 5 lines · On Tue, 31 Dec 2024 09:54:14 -0600 "Rob Herring (Arm)" <[email protected]> wrote:
get_maintainers.pl doesn't expect list entries to have a display name. Entries with a display name are omitted and print just the description:
(open list:PIN CONTROLLER - FREESCALE)
Quoted 7 lines
Quoted 3 lines
These cases are pretty much aliases to a few people, not lists which are archived and can be subscribed to. Change these cases to be reviewers instead.
Feels a bit wrong. Are you sure that *all* of the below "lists" are not really lists? If so then OK I suppose. Or perhaps we should have a new
MAINTAINERStag to cover this situation.
They certainly don't look like anything anyone outside those organizations can subscribe to or would have public archives. Whether they are lists or aliases internally doesn't matter to us.
Quoted 2 lines
And shouldn't
get_maintainerbe made to be more friendly in its handling of these entries? Omitting the email address seems kinda dumb.
That's certainly an alternate or additional fix. I was hoping Joe would know where to fix that rather than me trying to wade thru perl. :)
Rob
Joe Perches
maintainerQuoted 11 lines · Rob Herring
Quoted 10 lines · Andrew Morton
Quoted 8 lines · On Tue, 31 Dec 2024 09:54:14 -0600 "Rob Herring (Arm)"…
get_maintainers.pl doesn't expect list entries to have a display name. Entries with a display name are omitted and print just the description:
(open list:PIN CONTROLLER - FREESCALE)
These cases are pretty much aliases to a few people, not lists which are archived and can be subscribed to. Change these cases to be reviewers instead.
Quoted 9 lines
Quoted 3 lines
Feels a bit wrong. Are you sure that *all* of the below "lists" are not really lists? If so then OK I suppose. Or perhaps we should have a new
MAINTAINERStag to cover this situation.They certainly don't look like anything anyone outside those organizations can subscribe to or would have public archives. Whether they are lists or aliases internally doesn't matter to us.
Quoted 3 lines
And shouldn't
get_maintainerbe made to be more friendly in its handling of these entries? Omitting the email address seems kinda dumb.
[]
Quoted 3 lines
That's certainly an alternate or additional fix. I was hoping Joe would know where to fix that rather than me trying to wade thru perl. :)
Maybe something like this:
--- scripts/get_maintainer.pl | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-)
scripts/get_maintainer.pl +8 -1
@@ -1332,6 +1332,7 @@ sub add_categories { my $ptype = $1; my $pvalue = $2; if ($ptype eq "L") { + my $list_name = ""; my $list_address = $pvalue; my $list_additional = ""; my $list_role = get_list_role($i);
@@ -1339,10 +1340,16 @@ sub add_categories { if ($list_role ne "") { $list_role = ":" . $list_role; } - if ($list_address =~ m/([^\s]+)\s+(.*)$/) { + if ($list_address =~ m/^([^\<]+)\<(\S+@\S+)\>\s*(.*)$/) { + $list_name = $1; + $list_address = $2; + $list_additional = $3; + $list_name =~ s/^\s+|\s+$//g; #trim + } elsif ($list_address =~ m/([^\s]+)\s+(.*)$/) { $list_address = $1; $list_additional = $2; } + if ($list_additional =~ m/subscribers-only/) { if ($email_subscriber_list) { if (!$hash_list_to{lc($list_address)}) {