Re: [PATCH v1] dma-buf: Include ioctl.h in UAPI header

From: Christian König

Date: Tue Mar 03 2026 - 02:56:42 EST


On 3/3/26 02:45, T.J. Mercier wrote:
> On Mon, Mar 2, 2026 at 4:23 PM Isaac J. Manjarres
> <isaacmanjarres@xxxxxxxxxx> wrote:
>>
>> include/uapi/linux/dma-buf.h uses several macros from ioctl.h to define
>> its ioctl commands. However, it does not include ioctl.h itself. So,
>> if userspace source code tries to include the dma-buf.h file without
>> including ioctl.h, it can result in build failures.
>>
>> Therefore, include ioctl.h in the dma-buf UAPI header.
>>
>> Signed-off-by: Isaac J. Manjarres <isaacmanjarres@xxxxxxxxxx>
>
> Reviewed-by: T.J. Mercier <tjmercier@xxxxxxxxxx>

Reviewed-by: Christian König <christian.koenig@xxxxxxx>

Going to push that to drm-misc-fixes now.

Thanks,
Christian.