Skip to contentSkip to conversation

Fixed commit: Fixes Sphinx warnings about duplicate reference labels in Documentation/filesystems/ext4/atomic_writes.rst.

PATCH In review Andre Luiz da Nobrega 2 participants 2 messages Jul 29, 2025

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fixed commit: Fixes Sphinx warnings about duplicate reference labels in Documentation/filesystems/ext4/atomic_writes.rst.

Specifically, the label '.. _atomic_write_bdev_support:' was renamed to '.. _atomic_write_bdev_support_section:' to ensure label uniqueness within the document.

---
 Documentation/filesystems/ext4/atomic_writes.rst |  2 +-
 warn_output.txt                                  | 12 ++++++++++++
 2 files changed, 13 insertions(+), 1 deletion(-)
 create mode 100644 warn_output.txt
Documentation/filesystems/ext4/atomic_writes.rst +1 -1
index 80f83112d24d..e8cf983049b4 100644
@@ -204,7 +204,7 @@ writes are supported.
 .. _atomic_write_bdev_support_section:
 
 Hardware Support
-----------------
+-----------------
 
 The underlying storage device must support atomic write operations.
 Modern NVMe and SCSI devices often provide this capability.
warn_output.txt new file +12 -0
new file mode 100644
index 000000000000..593c6fa5b65d
@@ -0,0 +1,12 @@
+Using alabaster theme
+/home/alkaleus/Documentos/PESSOAL/LFX_dev/linus_tree/Documentation/filesystems/ext4/atomic_writes.rst:5: WARNING: duplicate label atomic_writes, other instance in /home/alkaleus/Documentos/PESSOAL/LFX_dev/linus_tree/Documentation/filesystems/ext4/atomic_writes.rst
+/home/alkaleus/Documentos/PESSOAL/LFX_dev/linus_tree/Documentation/filesystems/ext4/atomic_writes.rst:207: WARNING: duplicate label atomic_write_bdev_support, other instance in /home/alkaleus/Documentos/PESSOAL/LFX_dev/linus_tree/Documentation/filesystems/ext4/atomic_writes.rst
+WARNING: ./drivers/gpu/drm/amd/display/dc/inc/hw/mpc.h:1068 struct member 'mcm' not described in 'mpc_funcs'
+WARNING: ./drivers/gpu/drm/amd/display/dc/inc/hw/mpc.h:1068 struct member 'rmcm' not described in 'mpc_funcs'
+/home/alkaleus/Documentos/PESSOAL/LFX_dev/linus_tree/Documentation/gpu/drm-kms:360: ./drivers/gpu/drm/drm_fourcc.c:362: WARNING: Duplicate C declaration, also defined at gpu/drm-kms:35.
+Declaration is '.. c:function:: const struct drm_format_info * drm_format_info (u32 format)'.
+/home/alkaleus/Documentos/PESSOAL/LFX_dev/linus_tree/Documentation/gpu/drm-kms:476: ./drivers/gpu/drm/drm_modeset_lock.c:375: WARNING: Duplicate C declaration, also defined at gpu/drm-kms:49.
+Declaration is '.. c:function:: int drm_modeset_lock (struct drm_modeset_lock *lock, struct drm_modeset_acquire_ctx *ctx)'.
+/home/alkaleus/Documentos/PESSOAL/LFX_dev/linus_tree/Documentation/gpu/drm-uapi:557: ./drivers/gpu/drm/drm_ioctl.c:915: WARNING: Duplicate C declaration, also defined at gpu/drm-uapi:70.
+Declaration is '.. c:function:: bool drm_ioctl_flags (unsigned int nr, unsigned int *flags)'.
+/home/alkaleus/Documentos/PESSOAL/LFX_dev/linus_tree/Documentation/arch/powerpc/htm.rst: WARNING: document isn't included in any toctree
Signature · 1 line
2.50.1
reviewer
#1 lore raw

Andre,

The warnings should be part of the patch description, not in the patch itself.

Still missing the actual ext4 change.

More below.

Quoted 16 lines · Andre Luiz da Nobrega

Specifically, the label '.. _atomic_write_bdev_support:' was renamed to '.. _atomic_write_bdev_support_section:' to ensure label uniqueness within the document.

---
 Documentation/filesystems/ext4/atomic_writes.rst |  2 +-
 warn_output.txt                                  | 12 ++++++++++++
 2 files changed, 13 insertions(+), 1 deletion(-)
 create mode 100644 warn_output.txt
Documentation/filesystems/ext4/atomic_writes.rst +0 -0
index 80f83112d24d..e8cf983049b4 100644

Documentation/filesystems/ext4/atomic_writes.rst writes are supported. · line 207

Quoted 5 lines
Documentation/filesystems/ext4/atomic_writes.rst +1 -1
@@ -204,7 +204,7 @@ writes are supported.
 .. _atomic_write_bdev_support_section:
 
 Hardware Support
-----------------
+-----------------

Unneeded change?

Quoted 21 lines
Documentation/filesystems/ext4/atomic_writes.rst +0 -0
 The underlying storage device must support atomic write operations.
 Modern NVMe and SCSI devices often provide this capability.
warn_output.txt new file +12 -0
new file mode 100644
index 000000000000..593c6fa5b65d
@@ -0,0 +1,12 @@
+Using alabaster theme
+/home/alkaleus/Documentos/PESSOAL/LFX_dev/linus_tree/Documentation/filesystems/ext4/atomic_writes.rst:5: WARNING: duplicate label atomic_writes, other instance in /home/alkaleus/Documentos/PESSOAL/LFX_dev/linus_tree/Documentation/filesystems/ext4/atomic_writes.rst
+/home/alkaleus/Documentos/PESSOAL/LFX_dev/linus_tree/Documentation/filesystems/ext4/atomic_writes.rst:207: WARNING: duplicate label atomic_write_bdev_support, other instance in /home/alkaleus/Documentos/PESSOAL/LFX_dev/linus_tree/Documentation/filesystems/ext4/atomic_writes.rst
+WARNING: ./drivers/gpu/drm/amd/display/dc/inc/hw/mpc.h:1068 struct member 'mcm' not described in 'mpc_funcs'
+WARNING: ./drivers/gpu/drm/amd/display/dc/inc/hw/mpc.h:1068 struct member 'rmcm' not described in 'mpc_funcs'
+/home/alkaleus/Documentos/PESSOAL/LFX_dev/linus_tree/Documentation/gpu/drm-kms:360: ./drivers/gpu/drm/drm_fourcc.c:362: WARNING: Duplicate C declaration, also defined at gpu/drm-kms:35.
+Declaration is '.. c:function:: const struct drm_format_info * drm_format_info (u32 format)'.
+/home/alkaleus/Documentos/PESSOAL/LFX_dev/linus_tree/Documentation/gpu/drm-kms:476: ./drivers/gpu/drm/drm_modeset_lock.c:375: WARNING: Duplicate C declaration, also defined at gpu/drm-kms:49.
+Declaration is '.. c:function:: int drm_modeset_lock (struct drm_modeset_lock *lock, struct drm_modeset_acquire_ctx *ctx)'.
+/home/alkaleus/Documentos/PESSOAL/LFX_dev/linus_tree/Documentation/gpu/drm-uapi:557: ./drivers/gpu/drm/drm_ioctl.c:915: WARNING: Duplicate C declaration, also defined at gpu/drm-uapi:70.
+Declaration is '.. c:function:: bool drm_ioctl_flags (unsigned int nr, unsigned int *flags)'.
+/home/alkaleus/Documentos/PESSOAL/LFX_dev/linus_tree/Documentation/arch/powerpc/htm.rst: WARNING: document isn't included in any toctree
Signature · 1 line
~Randy