diff options
| author | Andrey Konovalov <[email protected]> | 2020-05-07 17:06:54 +0000 |
|---|---|---|
| committer | Felipe Balbi <[email protected]> | 2020-05-09 08:05:09 +0000 |
| commit | 6e507644209b4a043363e165855a3a3050c4d40e (patch) | |
| tree | 9e359efcd1d74b16b6234a6273dcaac65e9fc50e /scripts/gcc-plugins/sancov_plugin.c | |
| parent | usb: dwc3: select USB_ROLE_SWITCH (diff) | |
| download | kernel-6e507644209b4a043363e165855a3a3050c4d40e.tar.gz kernel-6e507644209b4a043363e165855a3a3050c4d40e.zip | |
usb: raw-gadget: fix return value of ep read ioctls
They must return the number of bytes transferred during the data stage.
Fixes: 068fbff4f860 ("usb: raw-gadget: Fix copy_to/from_user() checks")
Fixes: f2c2e717642c ("usb: gadget: add raw-gadget interface")
Signed-off-by: Andrey Konovalov <[email protected]>
Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/sancov_plugin.c')
0 files changed, 0 insertions, 0 deletions
