Re: [PATCH v3 17/30] ABI: sysfs-class-gnss: use wildcards on What definitions

From: Johan Hovold
Date: Mon Sep 20 2021 - 05:41:20 EST


On Thu, Sep 16, 2021 at 10:59:44AM +0200, Mauro Carvalho Chehab wrote:
> An "N" upper letter is not a wildcard, nor can easily be identified
> by script, specially since the USB sysfs define things like.
> bNumInterfaces. Use, instead, <N>, in order to let script/get_abi.pl
> to convert it into a Regex.
>
> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@xxxxxxxxxx>

Acked-by: Johan Hovold <johan@xxxxxxxxxx>

> ---
> Documentation/ABI/testing/sysfs-class-gnss | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/ABI/testing/sysfs-class-gnss b/Documentation/ABI/testing/sysfs-class-gnss
> index c8553d972edd..9650f3a7fc03 100644
> --- a/Documentation/ABI/testing/sysfs-class-gnss
> +++ b/Documentation/ABI/testing/sysfs-class-gnss
> @@ -1,4 +1,4 @@
> -What: /sys/class/gnss/gnssN/type
> +What: /sys/class/gnss/gnss<N>/type
> Date: May 2018
> KernelVersion: 4.18
> Contact: Johan Hovold <johan@xxxxxxxxxx>