From: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
To: Linux Doc Mailing List <linux-doc@vger.kernel.org>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>,
"Jonathan Corbet" <corbet@lwn.net>,
Bjorn Helgaas <bhelgaas@google.com>,
Heikki Krogerus <heikki.krogerus@linux.intel.com>,
Jonathan Cameron <Jonathan.Cameron@huawei.com>,
Rajat Jain <rajatja@google.com>,
linux-kernel@vger.kernel.org
Subject: [PATCH v3 01/30] ABI: sysfs-bus-usb: better document variable argument
Date: Thu, 16 Sep 2021 10:59:28 +0200 [thread overview]
Message-ID: <2f7e4e874677dbd82693a6b219decefa18802e8f.1631782432.git.mchehab+huawei@kernel.org> (raw)
In-Reply-To: <cover.1631782432.git.mchehab+huawei@kernel.org>
On almost all ABI documents, variable arguments are declared
as <foo_bar>. Change it here too, in order to allow replacing
such wildcards by regexes on a scriptable way.
Acked-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Acked-by: Rajat Jain <rajatja@google.com>
Acked-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
---
Documentation/ABI/testing/sysfs-bus-usb | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/Documentation/ABI/testing/sysfs-bus-usb b/Documentation/ABI/testing/sysfs-bus-usb
index 73eb23bc1f34..42103f0f54d6 100644
--- a/Documentation/ABI/testing/sysfs-bus-usb
+++ b/Documentation/ABI/testing/sysfs-bus-usb
@@ -166,14 +166,14 @@ Description:
The file will be present for all speeds of USB devices, and will
always read "no" for USB 1.1 and USB 2.0 devices.
-What: /sys/bus/usb/devices/.../(hub interface)/portX
+What: /sys/bus/usb/devices/.../<hub_interface>/port<X>
Date: August 2012
Contact: Lan Tianyu <tianyu.lan@intel.com>
Description:
- The /sys/bus/usb/devices/.../(hub interface)/portX
+ The /sys/bus/usb/devices/.../<hub_interface>/port<X>
is usb port device's sysfs directory.
-What: /sys/bus/usb/devices/.../(hub interface)/portX/connect_type
+What: /sys/bus/usb/devices/.../<hub_interface>/port<X>/connect_type
Date: January 2013
Contact: Lan Tianyu <tianyu.lan@intel.com>
Description:
@@ -182,7 +182,7 @@ Description:
The file will read "hotplug", "hardwired" and "not used" if the
information is available, and "unknown" otherwise.
-What: /sys/bus/usb/devices/.../(hub interface)/portX/location
+What: /sys/bus/usb/devices/.../<hub_interface>/port<X>/location
Date: October 2018
Contact: Bjørn Mork <bjorn@mork.no>
Description:
@@ -192,7 +192,7 @@ Description:
raw location value as a hex integer.
-What: /sys/bus/usb/devices/.../(hub interface)/portX/quirks
+What: /sys/bus/usb/devices/.../<hub_interface>/port<X>/quirks
Date: May 2018
Contact: Nicolas Boichat <drinkcat@chromium.org>
Description:
@@ -216,7 +216,7 @@ Description:
used to help make enumeration work better on some high speed
devices.
-What: /sys/bus/usb/devices/.../(hub interface)/portX/over_current_count
+What: /sys/bus/usb/devices/.../<hub_interface>/port<X>/over_current_count
Date: February 2018
Contact: Richard Leitner <richard.leitner@skidata.com>
Description:
@@ -230,10 +230,10 @@ Description:
Any time this value changes the corresponding hub device will send a
udev event with the following attributes::
- OVER_CURRENT_PORT=/sys/bus/usb/devices/.../(hub interface)/portX
+ OVER_CURRENT_PORT=/sys/bus/usb/devices/.../<hub_interface>/port<X>
OVER_CURRENT_COUNT=[current value of this sysfs attribute]
-What: /sys/bus/usb/devices/.../(hub interface)/portX/usb3_lpm_permit
+What: /sys/bus/usb/devices/.../<hub_interface>/port<X>/usb3_lpm_permit
Date: November 2015
Contact: Lu Baolu <baolu.lu@linux.intel.com>
Description:
--
2.31.1
next prev parent reply other threads:[~2021-09-16 9:00 UTC|newest]
Thread overview: 40+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-16 8:59 [PATCH v3 00/30]Change wildcards on ABI files Mauro Carvalho Chehab
2021-09-16 8:59 ` Mauro Carvalho Chehab [this message]
2021-09-16 8:59 ` [PATCH v3 02/30] ABI: sysfs-tty: better document module name parameter Mauro Carvalho Chehab
2021-09-16 8:59 ` [PATCH v3 03/30] ABI: sysfs-kernel-slab: use a wildcard for the cache name Mauro Carvalho Chehab
2021-09-16 8:59 ` [PATCH v3 04/30] ABI: security: fix location for evm and ima_policy Mauro Carvalho Chehab
2021-09-16 8:59 ` [PATCH v3 05/30] ABI: sysfs-class-tpm: use wildcards for pcr-* nodes Mauro Carvalho Chehab
2021-09-16 15:59 ` Jarkko Sakkinen
2021-09-16 16:00 ` Jarkko Sakkinen
2021-09-16 16:06 ` Greg Kroah-Hartman
2021-09-16 8:59 ` [PATCH v3 06/30] ABI: sysfs-bus-rapidio: use wildcards on What definitions Mauro Carvalho Chehab
2021-09-16 8:59 ` [PATCH v3 07/30] ABI: sysfs-class-cxl: place "not in a guest" at description Mauro Carvalho Chehab
2021-09-16 8:59 ` [PATCH v3 08/30] ABI: sysfs-class-devfreq-event: use the right wildcards on What Mauro Carvalho Chehab
2021-09-16 8:59 ` [PATCH v3 09/30] ABI: sysfs-class-mic: use the right wildcards on What definitions Mauro Carvalho Chehab
2021-09-16 8:59 ` [PATCH v3 10/30] ABI: pstore: Fix What field Mauro Carvalho Chehab
2021-09-16 8:59 ` [PATCH v3 11/30] ABI: sysfs-class-typec: fix a typo on a " Mauro Carvalho Chehab
2021-09-16 11:47 ` Heikki Krogerus
2021-09-16 8:59 ` [PATCH v3 12/30] ABI: sysfs-ata: use a proper wildcard for ata_* Mauro Carvalho Chehab
2021-09-16 8:59 ` [PATCH v3 13/30] ABI: sysfs-class-infiniband: use wildcards on What definitions Mauro Carvalho Chehab
2021-09-16 8:59 ` [PATCH v3 14/30] ABI: sysfs-bus-pci: " Mauro Carvalho Chehab
2021-09-16 8:59 ` [PATCH v3 15/30] ABI: sysfs-bus-soundwire-master: " Mauro Carvalho Chehab
2021-09-16 8:59 ` [PATCH v3 16/30] ABI: sysfs-bus-soundwire-slave: " Mauro Carvalho Chehab
2021-09-16 16:36 ` Pierre-Louis Bossart
2021-09-16 16:47 ` Mauro Carvalho Chehab
2021-10-01 4:37 ` Vinod Koul
2021-10-01 4:36 ` Vinod Koul
2021-09-16 8:59 ` [PATCH v3 17/30] ABI: sysfs-class-gnss: " Mauro Carvalho Chehab
2021-09-20 9:40 ` Johan Hovold
2021-09-16 8:59 ` [PATCH v3 18/30] ABI: sysfs-class-mei: " Mauro Carvalho Chehab
2021-09-16 8:59 ` [PATCH v3 19/30] ABI: sysfs-class-mux: " Mauro Carvalho Chehab
2021-09-16 8:59 ` [PATCH v3 20/30] ABI: sysfs-class-pwm: " Mauro Carvalho Chehab
2021-09-16 8:59 ` [PATCH v3 21/30] ABI: sysfs-class-rc: " Mauro Carvalho Chehab
2021-09-16 8:59 ` [PATCH v3 22/30] ABI: sysfs-class-rc-nuvoton: " Mauro Carvalho Chehab
2021-09-16 8:59 ` [PATCH v3 23/30] ABI: sysfs-class-uwb_rc: " Mauro Carvalho Chehab
2021-09-16 8:59 ` [PATCH v3 24/30] ABI: sysfs-class-uwb_rc-wusbhc: " Mauro Carvalho Chehab
2021-09-16 8:59 ` [PATCH v3 25/30] ABI: sysfs-devices-platform-dock: " Mauro Carvalho Chehab
2021-09-16 8:59 ` [PATCH v3 26/30] ABI: sysfs-devices-system-cpu: " Mauro Carvalho Chehab
2021-09-16 8:59 ` [PATCH v3 27/30] ABI: sysfs-firmware-efi-esrt: " Mauro Carvalho Chehab
2021-09-16 8:59 ` [PATCH v3 28/30] ABI: sysfs-platform-sst-atom: " Mauro Carvalho Chehab
2021-09-16 8:59 ` [PATCH v3 29/30] ABI: sysfs-ptp: " Mauro Carvalho Chehab
2021-09-16 8:59 ` [PATCH v3 30/30] ABI: sysfs-class-rapidio: " Mauro Carvalho Chehab
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2f7e4e874677dbd82693a6b219decefa18802e8f.1631782432.git.mchehab+huawei@kernel.org \
--to=mchehab+huawei@kernel.org \
--cc=Jonathan.Cameron@huawei.com \
--cc=bhelgaas@google.com \
--cc=corbet@lwn.net \
--cc=gregkh@linuxfoundation.org \
--cc=heikki.krogerus@linux.intel.com \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rajatja@google.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®