Em Sat, 2 Dec 2017 05:50:47 -0200 Mauro Carvalho Chehab <mchehab@xxxxxxxxxx> escreveu: > Hi Jaedon, > > Em Fri, 1 Dec 2017 21:31:27 +0900 > Jaedon Shin <jaedon.shin@xxxxxxxxx> escreveu: > > > This patch series supports compat ioctl for 32-bit user space applications > > in 64-bit system. > > > > Jaedon Shin (3): > > media: dvb_frontend: Add unlocked_ioctl in dvb_frontend.c > > media: dvb_frontend: Add compat_ioctl callback > > media: dvb_frontend: Add commands implementation for compat ioct > > Thanks for the series. Yeah, indeed we need something like that. > > Yet, I suspect that you should also move the logic inside > dvb_frontend_handle_ioctl() with copies from/to userspace. > > We don't want the logic there to be called when a 32-bit userspace > copy happens, as it should now use the new compat32 code. Nevermind. After reviewing it carefully, the way you handled is OK. It seems that only thing you missed were to add an include to linux/compat.h. I'll add it and apply this patchset. Thanks, Mauro