Documentation: fix doc build errors for 7.2
Subsystems (5)
cover Documentation: fix doc build errors for 7.2
I noticed these 3 errors when building htmldocs from the mainline by the end of this merge window.
All are just formatting errors, fixed using the rules from the "Writing documentation" section in docs.
Thanks,
Rafael Passos (3):
Documentation: iio: fix Malformed table for ltc4283
Documentation: xe_drm: fix chars used for subsection
Documentation: ABI: fix description field indentation
.../ABI/testing/sysfs-class-reboot-mode-reboot_modes | 2 +- Documentation/hwmon/ltc4283.rst | 4 ++-- include/uapi/drm/xe_drm.h | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-)
Signature · 1 line
2.53.0
PATCH 1/3 Documentation: iio: fix Malformed table for ltc4283
Longest line in the first column is 27 chars
--- Documentation/hwmon/ltc4283.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Documentation/hwmon/ltc4283.rst +2 -2
@@ -256,7 +256,7 @@ these logs can be cleared by writing in the proper reset_history attribute. ``/sys/kernel/debug/i2c/i2c-[X]/[X]-addr/`` contains the following attributes: -======================= ========================================== +=========================== =========================================================== power1_failed_fault_log Set to 1 by a power1 fault occurring. power1_good_input_fault_log Set to 1 by a power1 good input fault occurring at PGIO3. in11_fet_short_fault_log Set to 1 when a FET-short fault occurs.
@@ -264,4 +264,4 @@ in11_fet_bad_fault_log Set to 1 when a FET-BAD fault occurs. in0_lcrit_fault_log Set to 1 by a VIN undervoltage fault occurring. in0_crit_fault_log Set to 1 by a VIN overvoltage fault occurring. curr1_crit_fault_log Set to 1 by an overcurrent fault occurring. -======================= ========================================== +=========================== ===========================================================
Signature · 1 line
2.53.0
Randy Dunlap
reviewerRe: [PATCH 1/3] Documentation: iio: fix Malformed table for ltc4283
Hi,
Quoted 6 lines · Rafael Passos
Longest line in the first column is 27 chars
Signed-off-by Rafael Passos <[email protected]>--- Documentation/hwmon/ltc4283.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Why "iio:" in the Subject line instead of "hwmon:"?
I sent this patch yesterday (my local time):
https://lore.kernel.org/linux-doc/[email protected]/T/#u
scripts/get_maintainer.pl should have told you to send the patch the the hwmon mailing list and the HWMON maintainer (as well as Documentation).
Quoted 20 lines
Documentation/hwmon/ltc4283.rst +2
-2@@ -256,7 +256,7 @@ these logs can be cleared by writing in the proper reset_history attribute. ``/sys/kernel/debug/i2c/i2c-[X]/[X]-addr/`` contains the following attributes: -======================= ========================================== +=========================== =========================================================== power1_failed_fault_log Set to 1 by a power1 fault occurring. power1_good_input_fault_log Set to 1 by a power1 good input fault occurring at PGIO3. in11_fet_short_fault_log Set to 1 when a FET-short fault occurs.@@ -264,4 +264,4 @@ in11_fet_bad_fault_log Set to 1 when a FET-BAD fault occurs. in0_lcrit_fault_log Set to 1 by a VIN undervoltage fault occurring. in0_crit_fault_log Set to 1 by a VIN overvoltage fault occurring. curr1_crit_fault_log Set to 1 by an overcurrent fault occurring. -======================= ========================================== +=========================== ===========================================================
Signature · 1 line
~Randy
PATCH 2/3 Documentation: xe_drm: fix chars used for subsection
In reply to Rafael PassosEqual signs are reserved for document tiles"="
this file docs gets imported by driver-uapi.rst,
and the page title is defined there.
--- include/uapi/drm/xe_drm.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
include/uapi/drm/xe_drm.h +3 -3
@@ -2537,21 +2537,21 @@ struct drm_xe_exec_queue_set_property {* Refer to Documentation/netlink/specs/drm_ras.yaml for complete interface specification. * * Node Registration -* ================= +* ----------------- * * The driver registers DRM RAS nodes for each error severity level. * enum drm_xe_ras_error_severity defines the node-id, while DRM_XE_RAS_ERROR_SEVERITY_NAMES maps * node-id to node-name. * * Error Classification -* ==================== +* -------------------- * * Each node contains a list of error counters. Each error is identified by a error-id and * an error-name. enum drm_xe_ras_error_component defines the error-id, while * DRM_XE_RAS_ERROR_COMPONENT_NAMES maps error-id to error-name. * * User Interface -* ============== +* -------------- * * To retrieve error values of a error counter, userspace applications should * follow the below steps:
Signature · 1 line
2.53.0
Randy Dunlap
reviewerRe: [PATCH 2/3] Documentation: xe_drm: fix chars used for subsection
Hi,
Quoted 1 line · Rafael Passos
Equal signs are reserved for document tiles"="
titles.
Quoted 1 line
this file docs gets imported by
driver-uapi.rst,
This
Quoted 1 line
and the page title is defined there.
It would be helpful to include the warnings here (but maybe not all 10 lines of each warning).
This patch does indeed prevent the warnings.
You should send this patch the the DRM XE maintainers & mailing list. INTEL DRM DISPLAY FOR XE AND I915 DRIVERS
M: Jani Nikula <[email protected]>
M: Rodrigo Vivi <[email protected]>
L: [email protected]
L: [email protected]
scripts/get_maintainer.pl should have told you that. (It does for me.)
Thanks.
Quoted 35 lines
Signed-off-by Rafael Passos <[email protected]>--- include/uapi/drm/xe_drm.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)include/uapi/drm/xe_drm.h +3
-3@@ -2537,21 +2537,21 @@ struct drm_xe_exec_queue_set_property {* Refer to Documentation/netlink/specs/drm_ras.yaml for complete interface specification. * * Node Registration -* ================= +* ----------------- * * The driver registers DRM RAS nodes for each error severity level. * enum drm_xe_ras_error_severity defines the node-id, while DRM_XE_RAS_ERROR_SEVERITY_NAMES maps * node-id to node-name. * * Error Classification -* ==================== +* -------------------- * * Each node contains a list of error counters. Each error is identified by a error-id and * an error-name. enum drm_xe_ras_error_component defines the error-id, while * DRM_XE_RAS_ERROR_COMPONENT_NAMES maps error-id to error-name. * * User Interface -* ============== +* -------------- * * To retrieve error values of a error counter, userspace applications should * follow the below steps:
Signature · 1 line
~Randy
Re: [PATCH 2/3] Documentation: xe_drm: fix chars used for subsection
Hi,
Quoted 4 lines · Randy Dunlap
Hi,
It would be helpful to include the warnings here (but maybe not all 10 lines of each warning).
Ok, I will add them.
Quoted 1 line
scripts/get_maintainer.plshould have told you that. (It does for me.)
It did, but I made the (wrong) choice of sending it only to the docs list, beucase I had 3 patches with nothing but doc fixes.
In cases like this, should I:
1. send a patchset, including the maintainers only on the patch related to them ?
2. send the patchset including everyone involved ?
3. not sent a patchset at all, and send separate patches for each list?
In this case, the other two patches will be dropped. So I will send a V2 for this one, and for the correct audience.
Thanks Randy,
Rafael Passos
Randy Dunlap
reviewerRe: [PATCH 2/3] Documentation: xe_drm: fix chars used for subsection
Quoted 15 lines · Rafael Passos
Hi,
Quoted 4 lines · Randy Dunlap
Hi,
It would be helpful to include the warnings here (but maybe not all 10 lines of each warning).
Ok, I will add them.
Quoted 1 line
scripts/get_maintainer.plshould have told you that. (It does for me.)It did, but I made the (wrong) choice of sending it only to the docs list, beucase I had 3 patches with nothing but doc fixes.
Quoted 6 lines
In cases like this, should I:
1. send a patchset, including the maintainers only on the patch related to them ?
2. send the patchset including everyone involved ?
3. not sent a patchset at all, and send separate patches for each list?
IMO you could do 1. or 3.
For #1, send the cover letter to anyone who is receiving any one patch.
Quoted 2 lines
In this case, the other two patches will be dropped. So I will send a V2 for this one, and for the correct audience.
Signature · 1 line
~Randy
PATCH 3/3 Documentation: ABI: fix description field indentation
In reply to Rafael PassosThe "description" field was missaligned. doc build identifies this as "missing description"
--- Documentation/ABI/testing/sysfs-class-reboot-mode-reboot_modes | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/ABI/testing/sysfs-class-reboot-mode-reboot_modes +1 -1
@@ -2,7 +2,7 @@ What: /sys/class/reboot-mode/<driver>/reboot_modes Date: March 2026(TBD) KernelVersion: TBD Contact: [email protected] - Description: +Description: This interface exposes the reboot-mode arguments registered with the reboot-mode framework. It is a read-only interface and provides a space
Signature · 1 line
2.53.0
Randy Dunlap
reviewerRe: [PATCH 3/3] Documentation: ABI: fix description field indentation
Quoted 13 lines · Rafael Passos
The "description" field was missaligned. doc build identifies this as "missing description"
Signed-off-by Rafael Passos <[email protected]>--- Documentation/ABI/testing/sysfs-class-reboot-mode-reboot_modes | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Documentation/ABI/testing/sysfs-class-reboot-mode-reboot_modes +0
-0
Documentation/ABI/testing/sysfs-class-reboot-mode-reboot_modes What: /sys/class/reboot-mode/<driver>/reboot_modes · line 8
Quoted 8 lines
Documentation/ABI/testing/sysfs-class-reboot-mode-reboot_modes +1
-1@@ -2,7 +2,7 @@ What: /sys/class/reboot-mode/<driver>/reboot_modes Date: March 2026(TBD) KernelVersion: TBD Contact: [email protected] - Description: +Description: This interface exposes the reboot-mode arguments registered with the reboot-mode framework. It is a read-only interface and provides a space
This and other issues in this file are already fixed here:
https://lore.kernel.org/all/[email protected]/
Signature · 1 line
~Randy