Re: [PATCH v2 net-next 1/9] MAINTAINERS: add maintainers for hns driver

From: Joe Perches
Date: Thu Jun 30 2016 - 06:49:56 EST


On Thu, 2016-06-30 at 15:25 +0800, Yisen Zhuang wrote:
> From: Daode Huang <huangdaode@xxxxxxxxxxxxx>
>
> This patch adds maintainers for hisilicon network subsystem driver
[]
> diff --git a/MAINTAINERS b/MAINTAINERS
[]
> @@ -5421,6 +5421,15 @@ F: include/uapi/linux/if_hippi.h
>  F: net/802/hippi.c
>  F: drivers/net/hippi/
>  
> +HISILICON NETWORK SUBSYSTEM DRIVER
> +M: Yisen Zhuang <yisen.zhuang@xxxxxxxxxx>
> +M: Salil Mehta <salil.mehta@xxxxxxxxxx>
> +L: netdev@xxxxxxxxxxxxxxx
> +W: http://www.hisilicon.com
> +S: Maintained
> +F: drivers/net/ethernet/hisilicon/*

>From MAINTAINERS:

F: Files and directories with wildcard patterns.
   A trailing slash includes all files and subdirectory files.
   F: drivers/net/ all files in and below drivers/net
   F: drivers/net/* all files in drivers/net, but not below
   F: */net/* all files in "any top level directory"/net
   One pattern per line.  Multiple F: lines acceptable.

So this pattern with the trailing /* matches only:

drivers/net/ethernet/hisilicon/Kconfig
drivers/net/ethernet/hisilicon/Makefile
drivers/net/ethernet/hisilicon/hip04_eth.c
drivers/net/ethernet/hisilicon/hix5hd2_gmac.c

and not any file in drivers/net/ethernet/hisilicon/hns/

Is that what you want?

using

F: drivers/net/ethernet/hisilicon/

matches all files in hisilicon and any directory below it.