ABI: sysfs-class-rapidio: use wildcards on What definitions
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 16 Sep 2021 08:59:57 +0000 (10:59 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 21 Sep 2021 16:31:17 +0000 (18:31 +0200)
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>
Link: https://lore.kernel.org/r/aa073b85ab04b5b201d40f747ccdb6806f38eb66.1631782432.git.mchehab+huawei@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/ABI/testing/sysfs-class-rapidio

index 19aefb21b639dd1cd607008ee61b59c7d174692a..81e09145525a6a4a035a12514c3b1034b224ebf0 100644 (file)
@@ -10,7 +10,7 @@ Description:
                NOTE: An mport ID is not a RapidIO destination ID assigned to a
                given local mport device.
 
-What:          /sys/class/rapidio_port/rapidioN/sys_size
+What:          /sys/class/rapidio_port/rapidio<N>/sys_size
 Date:          Apr, 2014
 KernelVersion: v3.15
 Contact:       Matt Porter <mporter@kernel.crashing.org>,
@@ -22,7 +22,7 @@ Description:
 
                1 = large (16-bit destination ID, max. 65536 devices).
 
-What:          /sys/class/rapidio_port/rapidioN/port_destid
+What:          /sys/class/rapidio_port/rapidio<N>/port_destid
 Date:          Apr, 2014
 KernelVersion: v3.15
 Contact:       Matt Porter <mporter@kernel.crashing.org>,