Understanding get_maintainer.pl and MAINTAINERS

Bjørn Mork bjorn at mork.no
Thu Mar 9 03:13:46 EST 2017


Robin Krahl <robin.krahl at ireas.org> writes:

> Hi again,
>
> I’m now preparing my patchset for bcm2835-audio.  get_maintainer.pl
> returns:
>
> 	$ ./scripts/get_maintainer.pl --nokeywords --nogit --nogit-fallback drivers/staging/vc04_services/bcm2835-audio/
> 	Stephen Warren <swarren at wwwdotorg.org> (maintainer:BROADCOM BCM2835 ARM ARCHITECTURE)
> 	Lee Jones <lee at kernel.org> (maintainer:BROADCOM BCM2835 ARM ARCHITECTURE)
> 	Eric Anholt <eric at anholt.net> (maintainer:BROADCOM BCM2835 ARM ARCHITECTURE)
> 	Greg Kroah-Hartman <gregkh at linuxfoundation.org> (supporter:STAGING SUBSYSTEM)
> 	Florian Fainelli <f.fainelli at gmail.com> (maintainer:BROADCOM BCM281XX/BCM11XXX/BCM216XX ARM ARCHITE...)
> 	Ray Jui <rjui at broadcom.com> (maintainer:BROADCOM BCM281XX/BCM11XXX/BCM216XX ARM ARCHITE...)
> 	Scott Branden <sbranden at broadcom.com> (maintainer:BROADCOM BCM281XX/BCM11XXX/BCM216XX ARM ARCHITE...)
> 	bcm-kernel-feedback-list at broadcom.com (maintainer:BROADCOM BCM281XX/BCM11XXX/BCM216XX ARM ARCHITE...)
> 	linux-rpi-kernel at lists.infradead.org (moderated list:BROADCOM BCM2835 ARM ARCHITECTURE)
> 	linux-arm-kernel at lists.infradead.org (moderated list:BROADCOM BCM2835 ARM ARCHITECTURE)
> 	devel at driverdev.osuosl.org (open list:STAGING SUBSYSTEM)
> 	linux-kernel at vger.kernel.org (open list)
>
> Why are the BROADCOM BCM281XX/BCM11XXX/BCM216XX ARM ARCHITE guys added
> to the list?  The MAINTAINERS file defines these rules:
>
> 	BROADCOM BCM281XX/BCM11XXX/BCM216XX ARM ARCHITECTURE
> 	M:      Florian Fainelli <f.fainelli at gmail.com>
> 	M:      Ray Jui <rjui at broadcom.com>
> 	M:      Scott Branden <sbranden at broadcom.com>
> 	M:      bcm-kernel-feedback-list at broadcom.com
> 	T:      git git://github.com/broadcom/mach-bcm
> 	S:      Maintained
> 	N:      bcm281*
> 	N:      bcm113*
> 	N:      bcm216*
> 	N:      kona
> 	F:      arch/arm/mach-bcm/
>
> As far as I see, none of these rules matches the given path.  Am I
> missing something?


The N entries are regex patterns.  "bcm281*" matches any name starting
with "bcm28", followed by 0 or more 1's.  So "bcm2835-audio" matches.

Yes, that looks like a bug in the MAINTAINERS entry.  They probably
intended something along 
 	N:      bcm281.*
 	N:      bcm113.*
 	N:      bcm216.*



Bjørn



More information about the Kernelnewbies mailing list