]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
Documentation: ioctl-number: Carve out some identifiers for use by sample drivers
authorLee Jones <lee@kernel.org>
Fri, 13 Dec 2024 13:47:06 +0000 (13:47 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 16 Dec 2024 15:12:44 +0000 (16:12 +0100)
32 IDs should be plenty (at yet, not too greedy) since a lot of sample
drivers will use their own subsystem allocations.

Sample drivers predominately reside in <KERNEL_ROOT>/samples, but there
should be no issue with in-place example drivers using them.

Signed-off-by: Lee Jones <lee@kernel.org>
Link: https://lore.kernel.org/r/20241213134715.601415-2-lee@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/userspace-api/ioctl/ioctl-number.rst

index 243f1f1b554a227239f11e4c7c2aa4cd7f13bdf1..dc4bc0cab69f6b040824f375c2ee798c5de92389 100644 (file)
@@ -311,6 +311,7 @@ Code  Seq#    Include File                                           Comments
                                                                      <mailto:oe@port.de>
 'z'   10-4F  drivers/s390/crypto/zcrypt_api.h                        conflict!
 '|'   00-7F  linux/media.h
+'|'   80-9F  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