[PATCH 1/2] Documentation: Bump media IOCTL reserved numbers

From: Sakari Ailus
Date: Mon May 26 2025 - 07:18:24 EST


The Media Controller uses IOCTL numbers up to 0x81. Given that nothing
appears to be using them for other purposes, even in the samples
allocation (checked with $ git grep "#define.*_IO.*'|'"), just reassign
the numbers up to 0x8f to linux/media.h and bump the samples allocation by
0x10.

Signed-off-by: Sakari Ailus <sakari.ailus@xxxxxxxxxxxxxxx>
---
Documentation/userspace-api/ioctl/ioctl-number.rst | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Documentation/userspace-api/ioctl/ioctl-number.rst b/Documentation/userspace-api/ioctl/ioctl-number.rst
index bc91756bde73..6b3be3fb0b15 100644
--- a/Documentation/userspace-api/ioctl/ioctl-number.rst
+++ b/Documentation/userspace-api/ioctl/ioctl-number.rst
@@ -312,8 +312,8 @@ Code Seq# Include File Comments
'z' 40-7F CAN bus card conflict!
<mailto:oe@xxxxxxx>
'z' 10-4F drivers/s390/crypto/zcrypt_api.h conflict!
-'|' 00-7F linux/media.h
-'|' 80-9F samples/ Any sample and example drivers
+'|' 00-8F linux/media.h
+'|' 90-AF samples/ Any sample and example drivers
0x80 00-1F linux/fb.h
0x81 00-1F linux/vduse.h
0x89 00-06 arch/x86/include/asm/sockios.h
--
2.39.5