Re: [PATCH] dma-buf: Fix SET_NAME ioctl uapi

2020-04-28 Thread Sumit Semwal
Thanks Daniel, Martin, On Thu, 23 Apr 2020 at 20:21, Martin Liu wrote: > > On Thu, Apr 09, 2020 at 09:28:16AM +0530, Sumit Semwal wrote: > > Thanks for the patch, Daniel! > > > > > > On Tue, 7 Apr 2020 at 19:00, Daniel Vetter wrote: > > > > > > The uapi is the same on 32 and 64 bit, but the

Re: [PATCH] dma-buf: Fix SET_NAME ioctl uapi

2020-04-08 Thread Sumit Semwal
Thanks for the patch, Daniel! On Tue, 7 Apr 2020 at 19:00, Daniel Vetter wrote: > > The uapi is the same on 32 and 64 bit, but the number isnt. Everyone > who botched this please re-read: > > https://www.kernel.org/doc/html/v5.4-preprc-cpu/ioctl/botching-up-ioctls.html > > Also, the type

[PATCH] dma-buf: Fix SET_NAME ioctl uapi

2020-04-07 Thread Daniel Vetter
The uapi is the same on 32 and 64 bit, but the number isnt. Everyone who botched this please re-read: https://www.kernel.org/doc/html/v5.4-preprc-cpu/ioctl/botching-up-ioctls.html Also, the type argument for the ioctl macros is for the type the void __user *arg pointer points at, which in this