On Fri Jul 11, 2025 at 9:24 AM CEST, Arnd Bergmann wrote: > From: Arnd Bergmann <a...@arndb.de> > > nouveau_drm_ioctl() only checks the _IOC_NR() bits in the DRM_NOUVEAU_NVIF > command, but ignores the type and direction bits, so any command with > '7' in the low eight bits gets passed into nouveau_abi16_ioctl() instead > of drm_ioctl(). > > Check for all the bits except the size that is handled inside of the handler. > > Fixes: 27111a23d01c ("drm/nouveau: expose the full object/event interfaces to > userspace") > Signed-off-by: Arnd Bergmann <a...@arndb.de>
Applied to drm-misc-fixes, thanks! [ Fix up two checkpatch warnings and a typo. - Danilo ]