Re: [PATCH USB 1/2] usb: raw-gadget: fix return value of ep read ioctls

Dan Carpenter
2020-04-24T08:43:28Z

On Fri, Apr 24, 2020 at 03:09:58AM +0200, Andrey Konovalov wrote:
> They must return the number of bytes transferred during the data stage.
>
> Signed-off-by: Andrey Konovalov <andreyknvl@google.com>

This was my mistake. Please add a Fixes tag.

Fixes: 068fbff4f860 ("usb: raw-gadget: Fix copy_to/from_user() checks")

I should have seen that bug... I thought I was being careful and I
even singled out that part of the commit and mentioned it in the
commit message but I messed up. Sorry.

regards,
dan carpenter