udmabuf: Add missing compact_ioctl
Subsystems (2)
PATCH 1/1 udmabuf: Add missing compact_ioctl
Make sure we can use this on mixed systems.
Signed-off-by Kristian H. Kristensen <[email protected]>
--- drivers/dma-buf/udmabuf.c | 3 +++ 1 file changed, 3 insertions(+)
Sorry Gerd for all the spam. Once I finally got git send-email working, I ended up sending a version with all ChromeOS decorations, of course. Here's a normal upstream version.
Email based workflow - the barrier is real.
Kristian
drivers/dma-buf/udmabuf.c +3 -0
@@ -270,6 +270,9 @@ static long udmabuf_ioctl(struct file *filp, unsigned int ioctl,static const struct file_operations udmabuf_fops = { .owner =THIS_MODULE , .unlocked_ioctl = udmabuf_ioctl, +#ifdef CONFIG_COMPAT + .compat_ioctl = udmabuf_ioctl, +#endif };static struct miscdevice udmabuf_misc = {
Signature · 6 lines
2.28.0.402.g5ffc5be6b7-goog _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
Hi,
drivers/dma-buf/udmabuf.c static long udmabuf_ioctl(struct file *filp, unsigned int ioctl, · line 275
Quoted 3 lines
drivers/dma-buf/udmabuf.c +3
-0+#ifdef CONFIG_COMPAT + .compat_ioctl = udmabuf_ioctl, +#endif
Pushed to drm-misc-next.
thanks,
Gerd
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel