hpsa compat ioctl done (hopefully) saner. I really want to kill compat_alloc_user_space() off - it's always trouble and for a driver-private ioctls it's absolutely pointless. Note that this is only compile-tested - I don't have the hardware to test it on *or* userland to issue the ioctls in question. So this series definitely needs a review and testing from hpsa maintainers before it might go anywhere. The series is in vfs.git #uaccess.hpsa, based at v5.7-rc1 Al Viro (4): hpsa passthrough: lift {BIG_,}IOCTL_Command_struct copy{in,out} into hpsa_ioctl() hpsa: don't bother with vmalloc for BIG_IOCTL_Command_struct hpsa: get rid of compat_alloc_user_space() hpsa_ioctl(): tidy up a bit drivers/scsi/hpsa.c | 199 ++++++++++++++++++++++++---------------------------- 1 file changed, 90 insertions(+), 109 deletions(-)