Re: [PATCH 18/20] usb: get rid of pointless access_ok() calls

From: Greg Kroah-Hartman
Date: Fri May 15 2020 - 06:53:52 EST


On Sun, May 10, 2020 at 12:45:55AM +0100, Al Viro wrote:
> From: Al Viro <viro@xxxxxxxxxxxxxxxxxx>
>
> in all affected cases addresses are passed only to
> copy_from()_user or copy_to_user().
>
> Signed-off-by: Al Viro <viro@xxxxxxxxxxxxxxxxxx>
> ---
> drivers/usb/core/devices.c | 2 --
> drivers/usb/core/devio.c | 9 ---------
> drivers/usb/gadget/function/f_hid.c | 6 ------
> 3 files changed, 17 deletions(-)


Reviewed-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>