Re: [PATCH] MAINTAINERS: Better regex for dma_buf|fence|resv

From: Joe Perches
Date: Tue Mar 17 2020 - 08:51:19 EST


On Tue, 2020-03-17 at 08:15 +0100, Daniel Vetter wrote:
> We're getting some random other stuff that we're not relly interested
> in, so match only word boundaries. Also avoid the capture group while
> at it.
[]
> diff --git a/MAINTAINERS b/MAINTAINERS
[]
> @@ -5025,7 +5025,7 @@ F: include/linux/dma-buf*
> F: include/linux/reservation.h
> F: include/linux/*fence.h
> F: Documentation/driver-api/dma-buf.rst
> -K: dma_(buf|fence|resv)
> +K: '\bdma_(?:buf|fence|resv)\b'

You don't want the single quotes in the K: entry

K: \bdma_(?:buf|fence|resv)\b

My mistake for adding them in the initial suggestion.