Skip to contentSkip to conversation

Documentation: ioctl-number: Update table intro

PATCH Applied Bagas Sanjaya 2 participants 2 messages May 8, 2025 – May 19, 2025 Documentation

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 Documentation: ioctl-number: Update table intro

Introduction paragraph to the ioctl numbers table states that only ioctls in up to ancient Linux kernel version (v2.6.31) for x86 arch are listed. This is inaccurate as the table also lists ioctls from non-x86 archs and the kernel is continously developed (currently in v6.x).

Update the paragraph accordingly.

---
Changes since v1 [1]:
- Do not mention kernel version (Lukas)

[1]: https://lore.kernel.org/linux-doc/[email protected]/

 Documentation/userspace-api/ioctl/ioctl-number.rst | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
Documentation/userspace-api/ioctl/ioctl-number.rst +2 -3
index 83e5d2abdad694..4915e1a7d304eb 100644
@@ -62,9 +62,8 @@ Following this convention is good because:
 (5) When following the convention, the driver code can use generic
     code to copy the parameters between user and kernel space.
 
-This table lists ioctls visible from user land for Linux/x86.  It contains
-most drivers up to 2.6.31, but I know I am missing some.  There has been
-no attempt to list non-X86 architectures or ioctls from drivers/staging/.
+This table lists ioctls visible from userland, excluding ones from
+drivers/staging/.
 
 ====  =====  ======================================================= ================================================================
 Code  Seq#    Include File                                           Comments

base-commit: b91a0cbb6f27ee499e376091e8c8c0ddfd69103c

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

Introduction paragraph to the ioctl numbers table states that only ioctls in up to ancient Linux kernel version (v2.6.31) for x86 arch are listed. This is inaccurate as the table also lists ioctls from non-x86 archs and the kernel is continously developed (currently in v6.x).

Update the paragraph accordingly.

Quoted 8 lines

---
Changes since v1 [1]:
- Do not mention kernel version (Lukas)

[1]: https://lore.kernel.org/linux-doc/[email protected]/

 Documentation/userspace-api/ioctl/ioctl-number.rst | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

Applied, thanks.

jon