ABI: sysfs-bus-pci: use wildcards on What definitions
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 16 Sep 2021 08:59:41 +0000 (10:59 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 21 Sep 2021 16:31:16 +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.

Acked-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Link: https://lore.kernel.org/r/4ede4ec98e295f054f3e5a6f3f9393b5e3d5d2a7.1631782432.git.mchehab+huawei@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/ABI/testing/sysfs-bus-pci

index d4ae03296861e4710e7befe7527937c5e165050b..191cbe9ae5edab35895e9099048c13b715e18054 100644 (file)
@@ -160,7 +160,7 @@ Description:
                If the underlying VPD has a writable section then the
                corresponding section of this file will be writable.
 
-What:          /sys/bus/pci/devices/.../virtfnN
+What:          /sys/bus/pci/devices/.../virtfn<N>
 Date:          March 2009
 Contact:       Yu Zhao <yu.zhao@intel.com>
 Description: