linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] MAINTAINERS: add keyword "tegra" to Tegra section
@ 2013-02-08 20:04 Stephen Warren
  2013-02-09  0:40 ` Joe Perches
  0 siblings, 1 reply; 6+ messages in thread
From: Stephen Warren @ 2013-02-08 20:04 UTC (permalink / raw)
  To: linux-arm-kernel

From: Stephen Warren <swarren@nvidia.com>

The intent is to ensure that all Tegra-related patches are sent to the
linux-tegra@ mailing list, so people can keep up-to-date on all misc
driver changes.

Doing this with a keyword is far simpler and more compact than listing
all Tegra-related drivers, even if wildcards were used.

Words such as integrate or integrator are common. Use a negative look-
behind assertion to make sure the keyword doesn't match those.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
---
 MAINTAINERS |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/MAINTAINERS b/MAINTAINERS
index 972fd51..ebd3c64 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -7850,9 +7850,7 @@ L:	linux-tegra at vger.kernel.org
 Q:	http://patchwork.ozlabs.org/project/linux-tegra/list/
 T:	git git://git.kernel.org/pub/scm/linux/kernel/git/swarren/linux-tegra.git
 S:	Supported
-F:	arch/arm/mach-tegra
-F:	arch/arm/boot/dts/tegra*
-F:	arch/arm/configs/tegra_defconfig
+K:	(?<!in)tegra
 
 TEHUTI ETHERNET DRIVER
 M:	Andy Gospodarek <andy@greyhouse.net>
-- 
1.7.10.4

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH] MAINTAINERS: add keyword "tegra" to Tegra section
  2013-02-08 20:04 [PATCH] MAINTAINERS: add keyword "tegra" to Tegra section Stephen Warren
@ 2013-02-09  0:40 ` Joe Perches
  2013-02-09  0:47   ` Stephen Warren
  0 siblings, 1 reply; 6+ messages in thread
From: Joe Perches @ 2013-02-09  0:40 UTC (permalink / raw)
  To: linux-arm-kernel

On Fri, 2013-02-08 at 13:04 -0700, Stephen Warren wrote:
> (?<!in)tegra

This doesn't work well.   It matches too many
words like integral.

I suggest

K:	(?:\btegra\b|\bTEGRA_)

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH] MAINTAINERS: add keyword "tegra" to Tegra section
  2013-02-09  0:40 ` Joe Perches
@ 2013-02-09  0:47   ` Stephen Warren
  2013-02-09  1:05     ` Joe Perches
  0 siblings, 1 reply; 6+ messages in thread
From: Stephen Warren @ 2013-02-09  0:47 UTC (permalink / raw)
  To: linux-arm-kernel

On 02/08/2013 05:40 PM, Joe Perches wrote:
> On Fri, 2013-02-08 at 13:04 -0700, Stephen Warren wrote:
>> (?<!in)tegra
> 
> This doesn't work well.   It matches too many
> words like integral.

Hmmm. That's exactly what the (?<!in) negative look-behind assertion is
attempting to avoid. It works fine here. Is there some dependency on
Perl version or something? My Perl version is v5.14.2.

> I suggest
> 
> K:	(?:\btegra\b|\bTEGRA_)
> 

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH] MAINTAINERS: add keyword "tegra" to Tegra section
  2013-02-09  0:47   ` Stephen Warren
@ 2013-02-09  1:05     ` Joe Perches
  2013-02-09  3:15       ` Stephen Warren
  0 siblings, 1 reply; 6+ messages in thread
From: Joe Perches @ 2013-02-09  1:05 UTC (permalink / raw)
  To: linux-arm-kernel

On Fri, 2013-02-08 at 17:47 -0700, Stephen Warren wrote:
> On 02/08/2013 05:40 PM, Joe Perches wrote:
> > On Fri, 2013-02-08 at 13:04 -0700, Stephen Warren wrote:
> >> (?<!in)tegra
> > 
> > This doesn't work well.   It matches too many
> > words like integral.
> 
> Hmmm. That's exactly what the (?<!in) negative look-behind assertion is
> attempting to avoid. It works fine here. Is there some dependency on
> Perl version or something? My Perl version is v5.14.2.

Integral matches

I don't see any issue with using a leading \b

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH] MAINTAINERS: add keyword "tegra" to Tegra section
  2013-02-09  1:05     ` Joe Perches
@ 2013-02-09  3:15       ` Stephen Warren
  2013-02-09  4:02         ` Joe Perches
  0 siblings, 1 reply; 6+ messages in thread
From: Stephen Warren @ 2013-02-09  3:15 UTC (permalink / raw)
  To: linux-arm-kernel

On 02/08/2013 06:05 PM, Joe Perches wrote:
> On Fri, 2013-02-08 at 17:47 -0700, Stephen Warren wrote:
>> On 02/08/2013 05:40 PM, Joe Perches wrote:
>>> On Fri, 2013-02-08 at 13:04 -0700, Stephen Warren wrote:
>>>> (?<!in)tegra
>>>
>>> This doesn't work well.   It matches too many
>>> words like integral.
>>
>> Hmmm. That's exactly what the (?<!in) negative look-behind assertion is
>> attempting to avoid. It works fine here. Is there some dependency on
>> Perl version or something? My Perl version is v5.14.2.
> 
> Integral matches
> 
> I don't see any issue with using a leading \b

Oh right, it's a capitalization issue; I only tested with "integral" not
"Integral".

The problem with \btegra is that it wouldn't match _tegra, which would
be useful. Perhaps a custom almost-equivalent (?i)[^a-z]tegra would work?

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH] MAINTAINERS: add keyword "tegra" to Tegra section
  2013-02-09  3:15       ` Stephen Warren
@ 2013-02-09  4:02         ` Joe Perches
  0 siblings, 0 replies; 6+ messages in thread
From: Joe Perches @ 2013-02-09  4:02 UTC (permalink / raw)
  To: linux-arm-kernel

On Fri, 2013-02-08 at 20:15 -0700, Stephen Warren wrote:
> Perhaps a custom almost-equivalent (?i)[^a-z]tegra would work?

I didn't notice false positives with that one.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-02-09  4:02 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-08 20:04 [PATCH] MAINTAINERS: add keyword "tegra" to Tegra section Stephen Warren
2013-02-09  0:40 ` Joe Perches
2013-02-09  0:47   ` Stephen Warren
2013-02-09  1:05     ` Joe Perches
2013-02-09  3:15       ` Stephen Warren
2013-02-09  4:02         ` Joe Perches

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).