On Wed, 2019-12-11 at 21:42 +0100, Arnd Bergmann wrote: > This is the only ioctl command that does not have a proper > compat handler. Making the normal implementation do the > right thing is actually very simply, so just do that by > using an in_compat_syscall() check to avoid the special > case in the pkcdvd driver. [...] Since this uses blkdev_compat_ptr_ioctl() it needs to be moved after the following patch. Ben. -- Ben Hutchings, Software Developer Codethink Ltd https://www.codethink.co.uk/ Dale House, 35 Dale Street Manchester, M1 2HF, United Kingdom