Documentation: ABI: fix brackets and bracelets
PATCH 1/1 Documentation: ABI: fix brackets and bracelets
Fix missing and needless brackets
Fix missing bracelets
--- Documentation/ABI/stable/sysfs-class-infiniband | 4 ++-- Documentation/ABI/testing/sysfs-bus-iio | 4 ++-- Documentation/ABI/testing/sysfs-bus-iio-adc-ad7192 | 2 +- Documentation/ABI/testing/sysfs-firmware-dmi-entries | 2 +- Documentation/ABI/testing/sysfs-firmware-gsmi | 2 +- Documentation/ABI/testing/sysfs-uevent | 2 +- 6 files changed, 8 insertions(+), 8 deletions(-)
Documentation/ABI/stable/sysfs-class-infiniband +2 -2
@@ -157,8 +157,8 @@ Description: all VLs from this port. This may include packets with errors. This is 64 bit counter. - port_rcv_packets: (RO) Total number of packets (this may include - packets containing Errors. This is 64 bit counter. + port_rcv_packets: (RO) Total number of packets, this may include + packets containing Errors. This is a 64 bit counter. link_downed: (RO) Total number of times the Port Training state machine has failed the link error recovery process and downed
Documentation/ABI/testing/sysfs-bus-iio +2 -2
@@ -917,7 +917,7 @@ Description: Note the driver will assume the last p events requested are to be enabled where p is how many it supports (which may vary - depending on the exact set requested. So if you want to be + depending on the exact set requested). So if you want to be sure you have set what you think you have, check the contents of these attributes after everything is configured. Drivers may have to buffer any parameters so that they are consistent when
@@ -973,7 +973,7 @@ Description: Note the driver will assume the last p events requested are to be enabled where p is however many it supports (which may - vary depending on the exact set requested. So if you want to be + vary depending on the exact set requested). So if you want to be sure you have set what you think you have, check the contents of these attributes after everything is configured. Drivers may have to buffer any parameters so that they are consistent when
Documentation/ABI/testing/sysfs-bus-iio-adc-ad7192 +1 -1
@@ -16,7 +16,7 @@ Description: In bridge applications, such as strain gauges and load cells, the bridge itself consumes the majority of the current in the system. To minimize the current consumption of the system, - the bridge can be disconnected (when it is not being used + the bridge can be disconnected when it is not being used using the bridge_switch_en attribute. What: /sys/bus/iio/devices/iio:deviceX/in_voltage2-voltage2_shorted_raw
Documentation/ABI/testing/sysfs-firmware-dmi-entries +1 -1
@@ -93,7 +93,7 @@ Description: /sys/firmware/dmi/entries/15-0/system_event_log and has the following attributes (documented in the - SMBIOS / DMI specification under "System Event Log (Type 15)": + SMBIOS / DMI specification under "System Event Log (Type 15)"): - area_length - header_start_offset
Documentation/ABI/testing/sysfs-firmware-gsmi +1 -1
@@ -18,7 +18,7 @@ Description: /sys/firmware/gsmi/vars: - This directory has the same layout (and + This directory has the same layout and underlying implementation as /sys/firmware/efi/vars. See `Documentation/ABI/*/sysfs-firmware-efi-vars` for more information on how to interact with
Documentation/ABI/testing/sysfs-uevent +1 -1
@@ -8,7 +8,7 @@ Description: Recognized extended format is:: - ACTION [UUID [KEY=VALUE ...] + ACTION [UUID [KEY=VALUE ...]] The ACTION is compulsory - it is the name of the uevent action (``add``, ``change``, ``remove``). There is no change
Signature · 1 line
2.54.0
Jonathan Cameron
maintainerQuoted 8 lines · On Thu, 11 Jun 2026 10:56:21 +0200 Manuel Ebner <[email protected]> wrote:
Fix missing and needless brackets
Fix missing braceletsSigned-off-by Manuel Ebner <[email protected]>--- Documentation/ABI/stable/sysfs-class-infiniband | 4 ++-- Documentation/ABI/testing/sysfs-bus-iio | 4 ++-- Documentation/ABI/testing/sysfs-bus-iio-adc-ad7192 | 2 +-
Take a look at hos this stuff is routed into upstream. Each subsystem 'owns' their own documentation. So this needs splitting up on a per subsystem basis. I'll also note that you've only +CC IIO folk so you aren't going to get much review on the rest!
A few comments inline.
Quoted 10 lines
Documentation/ABI/testing/sysfs-firmware-dmi-entries | 2 +- Documentation/ABI/testing/sysfs-firmware-gsmi | 2 +- Documentation/ABI/testing/sysfs-uevent | 2 +- 6 files changed, 8 insertions(+), 8 deletions(-)Documentation/ABI/stable/sysfs-class-infiniband +0
-0
Documentation/ABI/stable/sysfs-class-infiniband Description: · line 161
Quoted 7 lines
Documentation/ABI/stable/sysfs-class-infiniband +2
-2@@ -157,8 +157,8 @@ Description: all VLs from this port. This may include packets with errors. This is 64 bit counter. - port_rcv_packets: (RO) Total number of packets (this may include - packets containing Errors. This is 64 bit counter. + port_rcv_packets: (RO) Total number of packets, this may include + packets containing Errors. This is a 64 bit counter.
Comma doesn't feel like the right choice here. Perhaps,
port_rc_packets: (RO) Total number of packets. May include packets containing Errors. This is a 64 bit counter.
Or just add the closing bracket.
Quoted 9 lines
Documentation/ABI/stable/sysfs-class-infiniband +0
-0link_downed: (RO) Total number of times the Port Training state machine has failed the link error recovery process and downedDocumentation/ABI/testing/sysfs-bus-iio-adc-ad7192 +0
-0
Documentation/ABI/testing/sysfs-bus-iio-adc-ad7192 Description: · line 20
Quoted 6 lines
Documentation/ABI/testing/sysfs-bus-iio-adc-ad7192 +1
-1@@ -16,7 +16,7 @@ Description: In bridge applications, such as strain gauges and load cells, the bridge itself consumes the majority of the current in the system. To minimize the current consumption of the system, - the bridge can be disconnected (when it is not being used + the bridge can be disconnected when it is not being used using the bridge_switch_en attribute.
I think intent would be better reflected here by adding the closing ) That last bit is kind of a 'by the way' rather than the dominant point of the sentence.
Quoted 8 lines
Documentation/ABI/testing/sysfs-bus-iio-adc-ad7192 +0
-0What: /sys/bus/iio/devices/iio:deviceX/in_voltage2-voltage2_shorted_rawDocumentation/ABI/testing/sysfs-firmware-gsmi +0
-0
Documentation/ABI/testing/sysfs-firmware-gsmi Description: · line 24
Quoted 8 lines
Documentation/ABI/testing/sysfs-firmware-gsmi +1
-1@@ -18,7 +18,7 @@ Description: /sys/firmware/gsmi/vars: - This directory has the same layout (and + This directory has the same layout and underlying implementation as /sys/firmware/efi/vars. See `Documentation/ABI/*/sysfs-firmware-efi-vars` for more information on how to interact with
I think I'd add the bracket after implementation as this file is about ABI so that's less important than the rest of the sentence.
Quoted 12 lines · Jonathan Cameron
Quoted 8 lines · On Thu, 11 Jun 2026 10:56:21 +0200 Manuel Ebner <[email protected]> wrote:
Fix missing and needless brackets
Fix missing braceletsSigned-off-by Manuel Ebner <[email protected]>---
Documentation/ABI/stable/sysfs-class-infiniband | 4 ++-- Documentation/ABI/testing/sysfs-bus-iio | 4 ++-- Documentation/ABI/testing/sysfs-bus-iio-adc-ad7192 | 2 +-
Quoted 4 lines
Take a look at hos this stuff is routed into upstream. Each subsystem 'owns' their own documentation. So this needs splitting up on a per subsystem basis. I'll also note that you've only +CC IIO folk so you aren't going to get much review on the rest!
I send it to the addresses get_maintainer returned, except the git blame ones. How can I find out who to send this to?
Quoted 22 lines
A few comments inline.
Quoted 14 lines
Documentation/ABI/testing/sysfs-firmware-dmi-entries | 2 +- Documentation/ABI/testing/sysfs-firmware-gsmi | 2 +- Documentation/ABI/testing/sysfs-uevent | 2 +-
6 files changed, 8 insertions(+), 8 deletions(-)Documentation/ABI/stable/sysfs-class-infiniband +0
-0@@ -157,8 +157,8 @@ Description:all VLs from this port. This may include packets with errors. This is 64 bit counter.
Documentation/ABI/stable/sysfs-class-infiniband Description: · line 161
Quoted 4 lines
Documentation/ABI/stable/sysfs-class-infiniband +2
-2- port_rcv_packets: (RO) Total number of packets (this may include - packets containing Errors. This is 64 bit counter. + port_rcv_packets: (RO) Total number of packets, this may include + packets containing Errors. This is a 64 bit counter.Comma doesn't feel like the right choice here. Perhaps,
Quoted 4 lines
port_rc_packets: (RO) Total number of packets. May include packets containing Errors. This is a 64 bit counter.Or just add the closing bracket.
will do this.
Quoted 4 lines
Quoted 4 lines
link_downed: (RO) Total number of times the Port Training state machine has failed the link error recovery process and downed
Quoted 16 lines
Quoted 11 lines
Documentation/ABI/testing/sysfs-bus-iio-adc-ad7192 +0
-0@@ -16,7 +16,7 @@ Description: In bridge applications, such as strain gauges and load cells,the bridge itself consumes the majority of the current in the system. To minimize the current consumption of the system,
Documentation/ABI/testing/sysfs-bus-iio-adc-ad7192 +1
-1- the bridge can be disconnected (when it is not being used + the bridge can be disconnected when it is not being usedQuoted 1 line
using the
bridge_switch_enattribute.I think intent would be better reflected here by adding the closing ) That last bit is kind of a 'by the way' rather than the dominant point of the sentence.
system. To minimize the current consumption of the system,
- the bridge can be disconnected (when it is not being used
+ the bridge can be disconnected (when it is not being used)
using the bridge_switch_en attribute.
like this?
Quoted 4 lines
Quoted 3 lines
What: /sys/bus/iio/devices/iio:deviceX/in_voltage2-voltage2_shorted_raw
Quoted 16 lines
Quoted 11 lines
Documentation/ABI/testing/sysfs-firmware-gsmi +0
-0@@ -18,7 +18,7 @@ Description:
/sys/firmware/gsmi/vars:Documentation/ABI/testing/sysfs-firmware-gsmi +1
-1- This directory has the same layout (and + This directory has the same layout andQuoted 3 lines
underlying implementation as
/sys/firmware/efi/vars. SeeDocumentation/ABI/*/sysfs-firmware-efi-varsfor more information on how to interact withI think I'd add the bracket after implementation as this file is about ABI so that's less important than the rest of the sentence.
This directory has the same layout (and
- underlying implementation as /sys/firmware/efi/vars.
+ underlying implementation) as /sys/firmware/efi/vars.
See Documentation/ABI/*/sysfs-firmware-efi-vars for more information on how to interact with
like this?
Thanks
manuel
Jonathan Cameron
maintainerQuoted 13 lines · On Thu, 11 Jun 2026 13:54:04 +0200 Manuel Ebner <[email protected]> wrote:
Quoted 12 lines · Jonathan Cameron
Quoted 8 lines · On Thu, 11 Jun 2026 10:56:21 +0200 Manuel Ebner <[email protected]> wrote:
Fix missing and needless brackets
Fix missing braceletsSigned-off-by Manuel Ebner <[email protected]>---
Documentation/ABI/stable/sysfs-class-infiniband | 4 ++-- Documentation/ABI/testing/sysfs-bus-iio | 4 ++-- Documentation/ABI/testing/sysfs-bus-iio-adc-ad7192 | 2 +-
Quoted 7 lines
Quoted 4 lines
Take a look at hos this stuff is routed into upstream. Each subsystem 'owns' their own documentation. So this needs splitting up on a per subsystem basis. I'll also note that you've only +CC IIO folk so you aren't going to get much review on the rest!
I send it to the addresses
get_maintainerreturned, except the git blame ones. How can I find out who to send this to?
Some are easier to track down than others - look up related subsystems in maintainers + look at anyone who has made significant changes to the files in question. However, some folk who work on Docs don't necessarily hang around so also useful to use lore.kernel.org to see if they have been on the list recently. Also sometimes it is a bit fiddlier so look at the original commits - that lets you find out what the files are associated with.
INFINIBAND SUBSYSTEM
M: Jason Gunthorpe <[email protected]>
M: Leon Romanovsky <[email protected]>
L: [email protected]
DMI/SMBIOS SUPPORT
M: Jean Delvare <[email protected]>
S: Maintained
gsmi needed a bit of digging:
GOOGLE FIRMWARE DRIVERS
M: Tzung-Bi Shih <[email protected]>
R: Brian Norris <[email protected]>
R: Julius Werner <[email protected]>
L: [email protected]
Similar digging needed for sysfs-uevent, though I could probably have guessed this one
DRIVER CORE, KOBJECTS, DEBUGFS AND SYSFS
M: Greg Kroah-Hartman <[email protected]>
M: "Rafael J. Wysocki" <[email protected]>
M: Danilo Krummrich <[email protected]>
L: [email protected]
IIO was the only one to have a specific match on these files. It might be worth asking the other folk if they'd be happy to have the MAINTAINERS entries updated to add one so that others find it easier in future.
Jonathan
Quoted 55 lines
Quoted 23 lines
A few comments inline.
Quoted 14 lines
Documentation/ABI/testing/sysfs-firmware-dmi-entries | 2 +- Documentation/ABI/testing/sysfs-firmware-gsmi | 2 +- Documentation/ABI/testing/sysfs-uevent | 2 +-
6 files changed, 8 insertions(+), 8 deletions(-)Documentation/ABI/stable/sysfs-class-infiniband +0
-0@@ -157,8 +157,8 @@ Description:all VLs from this port. This may include packets with errors. This is 64 bit counter.
Documentation/ABI/stable/sysfs-class-infiniband Description: · line 161
Quoted 4 lines
Documentation/ABI/stable/sysfs-class-infiniband +2
-2- port_rcv_packets: (RO) Total number of packets (this may include - packets containing Errors. This is 64 bit counter. + port_rcv_packets: (RO) Total number of packets, this may include + packets containing Errors. This is a 64 bit counter.Comma doesn't feel like the right choice here. Perhaps,
Quoted 4 lines
port_rc_packets: (RO) Total number of packets. May include packets containing Errors. This is a 64 bit counter.Or just add the closing bracket.
will do this.
Quoted 4 lines
Quoted 4 lines
link_downed: (RO) Total number of times the Port Training state machine has failed the link error recovery process and downedQuoted 16 lines
Quoted 11 lines
Documentation/ABI/testing/sysfs-bus-iio-adc-ad7192 +0
-0@@ -16,7 +16,7 @@ Description: In bridge applications, such as strain gauges and load cells,the bridge itself consumes the majority of the current in the system. To minimize the current consumption of the system,
Documentation/ABI/testing/sysfs-bus-iio-adc-ad7192 +1
-1- the bridge can be disconnected (when it is not being used + the bridge can be disconnected when it is not being usedQuoted 1 line
using the
bridge_switch_enattribute.I think intent would be better reflected here by adding the closing ) That last bit is kind of a 'by the way' rather than the dominant point of the sentence.
system. To minimize the current consumption of the system,
Documentation/ABI/testing/sysfs-bus-iio-adc-ad7192 +1
-1- the bridge can be disconnected (when it is not being used + the bridge can be disconnected (when it is not being used) using the bridge_switch_en attribute.
Quoted 1 line
like this?
Looks good.
Quoted 28 lines
Quoted 5 lines
Quoted 4 lines
What: /sys/bus/iio/devices/iio:deviceX/in_voltage2-voltage2_shorted_rawQuoted 16 lines
Quoted 11 lines
Documentation/ABI/testing/sysfs-firmware-gsmi +0
-0@@ -18,7 +18,7 @@ Description:
/sys/firmware/gsmi/vars:Documentation/ABI/testing/sysfs-firmware-gsmi +1
-1- This directory has the same layout (and + This directory has the same layout andQuoted 3 lines
underlying implementation as
/sys/firmware/efi/vars. SeeDocumentation/ABI/*/sysfs-firmware-efi-varsfor more information on how to interact withI think I'd add the bracket after implementation as this file is about ABI so that's less important than the rest of the sentence.
This directory has the same layout (and
Documentation/ABI/testing/sysfs-firmware-gsmi +1
-1- underlying implementation as /sys/firmware/efi/vars. + underlying implementation) as /sys/firmware/efi/vars. See `Documentation/ABI/*/sysfs-firmware-efi-vars` for more information on how to interact with
Quoted 1 line
like this?
yes
Thanks,
Jonathan
Quoted 3 lines
Thanks
manuel
Quoted 5 lines · Jonathan Cameron
Quoted 3 lines · On Thu, 11 Jun 2026 13:54:04 +0200 Manuel Ebner <[email protected]> wrote:
Quoted 2 lines · Jonathan Cameron
On Thu, 11 Jun 2026 10:56:21 +0200
Manuel Ebner <[email protected]> wrote:
...
Quoted 8 lines
Quoted 7 lines
Quoted 4 lines
Take a look at hos this stuff is routed into upstream. Each subsystem 'owns' their own documentation. So this needs splitting up on a per subsystem basis. I'll also note that you've only +CC IIO folk so you aren't going to get much review on the rest!
I send it to the addresses
get_maintainerreturned, except the git blame ones. How can I find out who to send this to?
Quoted 7 lines
Some are easier to track down than others - look up related subsystems in maintainers + look at anyone who has made significant changes to the files in question. However, some folk who work on Docs don't necessarily hang around so also useful to use lore.kernel.org to see if they have been on the list recently. Also sometimes it is a bit fiddlier so look at the original commits - that lets you find out what the files are associated with.
Also Cc Randy Dunlap, he is interested in documentation fixes.
Signature · 2 lines
With Best Regards, Andy Shevchenko
Quoted 2 lines · Manuel Ebner
Fix missing and needless brackets
Fix missing bracelets
Please, use proper English punctuation.
...
Documentation/ABI/stable/sysfs-class-infiniband Description: · line 161
Quoted 5 lines
Documentation/ABI/stable/sysfs-class-infiniband +2
-0all VLs from this port. This may include packets with errors. This is 64 bit counter. + port_rcv_packets: (RO) Total number of packets, this may include + packets containing Errors. This is a 64 bit counter.
Side note: 64-bit (note a dash) is the standard form of telling the size of the fixed-width values. Perhaps also update at some point?
...
Documentation/ABI/testing/sysfs-firmware-dmi-entries Description: · line 96
Quoted 8 lines
Documentation/ABI/testing/sysfs-firmware-dmi-entries +1
-1@@ -93,7 +93,7 @@ Description: /sys/firmware/dmi/entries/15-0/system_event_log and has the following attributes (documented in the - SMBIOS / DMI specification under "System Event Log (Type 15)": + SMBIOS / DMI specification under "System Event Log (Type 15)"):
Probably similar approach as in the rest?
and has the following attributes, which is documented in the SMBIOS / DMI specification under "System Event Log (Type 15)":
Quoted 2 lines
Documentation/ABI/testing/sysfs-firmware-dmi-entries +0
-0- area_length - header_start_offset
Signature · 2 lines
With Best Regards, Andy Shevchenko