usb: usbfs: stop using compat_alloc_user_space
authorChristoph Hellwig <hch@lst.de>
Wed, 22 Jul 2020 07:36:55 +0000 (09:36 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 22 Jul 2020 11:13:22 +0000 (13:13 +0200)
commitc17536d0abde2fd24afca542e3bb73b45a299633
tree4fcca63d1ee3526d13341bad53d3ac273e405000
parent6c9a9a8ddf3d81d36891d4adbeb466c4dda1f674
usb: usbfs: stop using compat_alloc_user_space

Just switch the low-level routines to take kernel structures, and do the
conversion from the compat to the native structure on that.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20200722073655.220011-1-hch@lst.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/core/devio.c