Re: get_maintainer broken for a few entries in MAINTAINERS

From: Joe Perches
Date: Mon May 08 2023 - 04:13:41 EST


On Mon, 2023-05-08 at 09:47 +0200, Uwe Kleine-König wrote:
> Hello,
>
> on v6.3 and v6.4-rc1 I experience:
>
> $ scripts/get_maintainer.pl -f drivers/gpu/drm/arm/display/komeda
> "James (Qian) Wang" <james.qian.wang@xxxxxxx> (supporter:ARM KOMEDA DRM-KMS DRIVER)
> Liviu Dudau <liviu.dudau@xxxxxxx> (supporter:ARM KOMEDA DRM-KMS DRIVER)
> Mihail Atanassov <mihail.atanassov@xxxxxxx> (supporter:ARM KOMEDA DRM-KMS DRIVER)
> Brian Starkey <brian.starkey@xxxxxxx> (supporter:ARM MALI-DP DRM DRIVER)
> David Airlie <airlied@xxxxxxxxx> (maintainer:DRM DRIVERS)
> Daniel Vetter <daniel@xxxxxxxx> (maintainer:DRM DRIVERS)
> (open list:ARM KOMEDA DRM-KMS DRIVER)
> dri-devel@xxxxxxxxxxxxxxxxxxxxx (open list:DRM DRIVERS)
> linux-kernel@xxxxxxxxxxxxxxx (open list)
>
> The 7th entry is broken. I didn't try to debug that in the script. Doing
>
> -L: Mali DP Maintainers <malidp@xxxxxxxxxxxx>
> +L: malidp@xxxxxxxxxxxx
>
> (twice) in MAINTAINTERS fixes the output.

More like the entries in MAINTAINERS are broken.
L: entries should not have "names".

I suggest sending a patch to MAINTAINERS to remove the "names"
or change the non-conforming entries to "M:"

$ git grep -h "^L:" MAINTAINERS | \
grep -v -P "^L:\s+[\w\_\.-]+@[\w_-]+\.\w+"
L: Mali DP Maintainers <malidp@xxxxxxxxxxxx>
L: Mali DP Maintainers <malidp@xxxxxxxxxxxx>
L: The AWS Nitro Enclaves Team <aws-nitro-enclaves-devel@xxxxxxxxxx>