Skip to contentSkip to conversation

fix broken links in bpf, driver_api & filesystem documentation

PATCH In review Jeremy Bobbin 3 participants 5 messages May 5

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

PATCH 1/1 fix broken links in bpf, driver_api & filesystem documentation

bpf/linux-notes.rst: broken link to ISA standard documentation driver-api/thermal/intel_dptf.rst: two broken links to filesystem quota

---
 Documentation/bpf/linux-notes.rst               | 2 +-
 Documentation/driver-api/thermal/intel_dptf.rst | 2 +-
 Documentation/filesystems/ext4/super.rst        | 6 +++---
 3 files changed, 5 insertions(+), 5 deletions(-)
Documentation/bpf/linux-notes.rst +1 -1
index 00d2693de025..9c7b703ae4e5 100644
@@ -46,7 +46,7 @@ Legacy BPF Packet access instructions
 =====================================
 
 As mentioned in the `ISA standard documentation
-<instruction-set.html#legacy-bpf-packet-access-instructions>`_,
+<standardization/instruction-set.html#legacy-bpf-packet-access-instructions>`_,
 Linux has special eBPF instructions for access to packet data that have been
 carried over from classic BPF to retain the performance of legacy socket
 filters running in the eBPF interpreter.
Documentation/driver-api/thermal/intel_dptf.rst +1 -1
index 4adfa1eb74db..1a4d7eedbb68 100644
@@ -81,7 +81,7 @@ DPTF ACPI Drivers interface
 
 ``data_vault`` (RO)
 	Binary thermal table. Refer to
-	https:/github.com/intel/thermal_daemon for decoding
+	https://github.com/intel/thermal_daemon for decoding
 	thermal table.
 
 ``production_mode`` (RO)
Documentation/filesystems/ext4/super.rst +3 -3
index 9a59cded9bd7..d06e4ae96d16 100644
@@ -408,11 +408,11 @@ The ext4 superblock is laid out as follows in
    * - 0x240
      - __le32
      - s_usr_quota_inum
-     - Inode number of user `quota <quota>`__ file.
+     - Inode number of user `quota </filesystems/quota.html>`__ file.
    * - 0x244
      - __le32
      - s_grp_quota_inum
-     - Inode number of group `quota <quota>`__ file.
+     - Inode number of group `quota </filesystems/quota.html>`__ file.
    * - 0x248
      - __le32
      - s_overhead_blocks
@@ -712,7 +712,7 @@ the following:
    * - 0x80
      - This filesystem has a snapshot (RO_COMPAT_HAS_SNAPSHOT).
    * - 0x100
-     - `Quota <Quota>`__ (RO_COMPAT_QUOTA).
+     - `Quota </filesystems/quota.html>`__ (RO_COMPAT_QUOTA).
    * - 0x200
      - This filesystem supports “bigalloc”, which means that file extents are
        tracked in units of clusters (of blocks) instead of blocks
Signature · 1 line
2.53.0
reviewer
#1 lore raw
Quoted 2 lines · Jeremy Bobbin

bpf/linux-notes.rst: broken link to ISA standard documentation driver-api/thermal/intel_dptf.rst: two broken links to filesystem quota

Somehow the line above merged changes for ext4/super.rst into the comment for intel_dptf.rst.

Quoted 61 lines
---
 Documentation/bpf/linux-notes.rst               | 2 +-
 Documentation/driver-api/thermal/intel_dptf.rst | 2 +-
 Documentation/filesystems/ext4/super.rst        | 6 +++---
 3 files changed, 5 insertions(+), 5 deletions(-)
Documentation/bpf/linux-notes.rst +1 -1
index 00d2693de025..9c7b703ae4e5 100644
@@ -46,7 +46,7 @@ Legacy BPF Packet access instructions
 =====================================
 
 As mentioned in the `ISA standard documentation
-<instruction-set.html#legacy-bpf-packet-access-instructions>`_,
+<standardization/instruction-set.html#legacy-bpf-packet-access-instructions>`_,
 Linux has special eBPF instructions for access to packet data that have been
 carried over from classic BPF to retain the performance of legacy socket
 filters running in the eBPF interpreter.
Documentation/driver-api/thermal/intel_dptf.rst +1 -1
index 4adfa1eb74db..1a4d7eedbb68 100644
@@ -81,7 +81,7 @@ DPTF ACPI Drivers interface
 
 ``data_vault`` (RO)
 	Binary thermal table. Refer to
-	https:/github.com/intel/thermal_daemon for decoding
+	https://github.com/intel/thermal_daemon for decoding
 	thermal table.
 
 ``production_mode`` (RO)
Documentation/filesystems/ext4/super.rst +3 -3
index 9a59cded9bd7..d06e4ae96d16 100644
@@ -408,11 +408,11 @@ The ext4 superblock is laid out as follows in
    * - 0x240
      - __le32
      - s_usr_quota_inum
-     - Inode number of user `quota <quota>`__ file.
+     - Inode number of user `quota </filesystems/quota.html>`__ file.
    * - 0x244
      - __le32
      - s_grp_quota_inum
-     - Inode number of group `quota <quota>`__ file.
+     - Inode number of group `quota </filesystems/quota.html>`__ file.
    * - 0x248
      - __le32
      - s_overhead_blocks
@@ -712,7 +712,7 @@ the following:
    * - 0x80
      - This filesystem has a snapshot (RO_COMPAT_HAS_SNAPSHOT).
    * - 0x100
-     - `Quota <Quota>`__ (RO_COMPAT_QUOTA).
+     - `Quota </filesystems/quota.html>`__ (RO_COMPAT_QUOTA).
    * - 0x200
      - This filesystem supports “bigalloc”, which means that file extents are
        tracked in units of clusters (of blocks) instead of blocks
Signature · 1 line
~Randy
reviewer
#2 lore raw
In reply to Jeremy Bobbin
Quoted 55 lines · Jeremy Bobbin

bpf/linux-notes.rst: broken link to ISA standard documentation driver-api/thermal/intel_dptf.rst: two broken links to filesystem quota

---
 Documentation/bpf/linux-notes.rst               | 2 +-
 Documentation/driver-api/thermal/intel_dptf.rst | 2 +-
 Documentation/filesystems/ext4/super.rst        | 6 +++---
 3 files changed, 5 insertions(+), 5 deletions(-)
Documentation/bpf/linux-notes.rst +1 -1
index 00d2693de025..9c7b703ae4e5 100644
@@ -46,7 +46,7 @@ Legacy BPF Packet access instructions
 =====================================
 
 As mentioned in the `ISA standard documentation
-<instruction-set.html#legacy-bpf-packet-access-instructions>`_,
+<standardization/instruction-set.html#legacy-bpf-packet-access-instructions>`_,
 Linux has special eBPF instructions for access to packet data that have been
 carried over from classic BPF to retain the performance of legacy socket
 filters running in the eBPF interpreter.
Documentation/driver-api/thermal/intel_dptf.rst +1 -1
index 4adfa1eb74db..1a4d7eedbb68 100644
@@ -81,7 +81,7 @@ DPTF ACPI Drivers interface
 
 ``data_vault`` (RO)
 	Binary thermal table. Refer to
-	https:/github.com/intel/thermal_daemon for decoding
+	https://github.com/intel/thermal_daemon for decoding
 	thermal table.
 
 ``production_mode`` (RO)
Documentation/filesystems/ext4/super.rst +2 -2
index 9a59cded9bd7..d06e4ae96d16 100644
@@ -408,11 +408,11 @@ The ext4 superblock is laid out as follows in
    * - 0x240
      - __le32
      - s_usr_quota_inum
-     - Inode number of user `quota <quota>`__ file.
+     - Inode number of user `quota </filesystems/quota.html>`__ file.
    * - 0x244
      - __le32
      - s_grp_quota_inum
-     - Inode number of group `quota <quota>`__ file.
+     - Inode number of group `quota </filesystems/quota.html>`__ file.
    * - 0x248
      - __le32
      - s_overhead_blocks

Documentation/filesystems/ext4/super.rst the following: · line 718

Quoted 8 lines
Documentation/filesystems/ext4/super.rst +1 -1
@@ -712,7 +712,7 @@ the following:
    * - 0x80
      - This filesystem has a snapshot (RO_COMPAT_HAS_SNAPSHOT).
    * - 0x100
-     - `Quota <Quota>`__ (RO_COMPAT_QUOTA).
+     - `Quota </filesystems/quota.html>`__ (RO_COMPAT_QUOTA).
    * - 0x200
      - This filesystem supports “bigalloc”, which means that file extents are
        tracked in units of clusters (of blocks) instead of blocks

These ext4 link changes don't work for me (file not found).

Signature · 1 line
~Randy
#3 lore raw
In reply to Jeremy Bobbin

Documentation/filesystems/ext4/super.rst the following: · line 715

Quoted 6 lines · Jeremy Bobbin
Documentation/filesystems/ext4/super.rst +1 -1
@@ -712,7 +712,7 @@ the following:
    * - 0x80
      - This filesystem has a snapshot (RO_COMPAT_HAS_SNAPSHOT).
    * - 0x100
-     - `Quota <Quota>`__ (RO_COMPAT_QUOTA).
+     - `Quota </filesystems/quota.html>`__ (RO_COMPAT_QUOTA).

Maybe :doc:Quota </filesystems/quota>?

Thanks.

Signature · 1 line
An old man doll... just what I always wanted! - Clara
reviewer
#4 lore raw
Quoted 11 lines · Bagas Sanjaya

Review the following: · line 715

Quoted 6 lines · Jeremy Bobbin
(quoted diff) +1 -1
@@ -712,7 +712,7 @@ the following:
    * - 0x80
      - This filesystem has a snapshot (RO_COMPAT_HAS_SNAPSHOT).
    * - 0x100
-     - `Quota <Quota>`__ (RO_COMPAT_QUOTA).
+     - `Quota </filesystems/quota.html>`__ (RO_COMPAT_QUOTA).

Maybe :doc:Quota </filesystems/quota>?

Thanks.

I just tried that - unsuccessfully. (Maybe because this is in a table?)

What works for me is this: (FWIW)

Documentation/filesystems/ext4/super.rst +3 -3
@@ -408,11 +408,11 @@ The ext4 superblock is laid out as follo
    * - 0x240
      - __le32
      - s_usr_quota_inum
-     - Inode number of user `quota <quota>`__ file.
+     - Inode number of user `quota <../quota.html>`__ file.
    * - 0x244
      - __le32
      - s_grp_quota_inum
-     - Inode number of group `quota <quota>`__ file.
+     - Inode number of group `quota <../quota.html>`__ file.
    * - 0x248
      - __le32
      - s_overhead_blocks
@@ -712,7 +712,7 @@ the following:
    * - 0x80
      - This filesystem has a snapshot (RO_COMPAT_HAS_SNAPSHOT).
    * - 0x100
-     - `Quota <Quota>`__ (RO_COMPAT_QUOTA).
+     - `Quota <../quota.html>`__ (RO_COMPAT_QUOTA).
    * - 0x200
      - This filesystem supports “bigalloc”, which means that file extents are
        tracked in units of clusters (of blocks) instead of blocks
Signature · 1 line
~Randy