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

- From: Johan Hovold \<johan@kernel.org\>
- Date: 2021-09-20 09:41:16 
- List: linux-doc
- Page: https://ratatoskr.run/linux-doc/2021/09/1514426
- Thread: https://ratatoskr.run/linux-doc/2021/09/1510191/t.md

```text
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@kernel.org>

Acked-by: Johan Hovold <johan@kernel.org>

> ---
>  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 [ref]
```
