Re: [PATCH v2 0/3] Document Media Controller IOCTL number assignments

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Jonathan, Greg, Miguel, others,

On Tue, May 27, 2025 at 08:56:45AM +0300, Sakari Ailus wrote:
> Hello all,
> 
> The Media Controller uses IOCTL numbers with '|' type up to 0x81 but the
> range from 0x80 upwards is documented to belong to samples. The samples,
> however, are currently using these values. Solve the problem by bumping
> the top of the MC range and the samples allocation by 0x10 as the samples
> don't require a stable IOCTL interface.

Could you comment on this, please?

I'd prefer to merge this via the media tree if that's ok.

> 
> since v1:
> 
> - Improved the commit message in the first patch.
> 
> - Added a patch to change the IOCTLs also in the Rust sample.
> 
> Sakari Ailus (3):
>   Documentation: Bump media IOCTL reserved numbers
>   media: uapi: Document IOCTL number assignment
>   samples: rust_misc_device: Bump IOCTL numbers
> 
>  Documentation/userspace-api/ioctl/ioctl-number.rst |  4 ++--
>  include/uapi/linux/media.h                         |  4 ++++
>  samples/rust/rust_misc_device.rs                   | 14 +++++++-------
>  3 files changed, 13 insertions(+), 9 deletions(-)
> 

-- 
Kind regards,

Sakari Ailus




[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux