Am 21.02.2017 um 14:21 schrieb Marek Szyprowski:
Add compat ioctl support to dma-buf. This lets one to use DMA_BUF_IOCTL_SYNC
ioctl from 32bit application on 64bit kernel. Data structures for both 32
and 64bit modes are same, so there is no need for additional translation
Well I might be wrong, but IIRC compat_ioctl was just optional and if not specified unlocked_ioctl was called instead.
If that is true your patch wouldn't have any effect at all.