diff options
| author | Andy Shevchenko <[email protected]> | 2023-03-13 15:45:22 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2023-03-16 11:45:35 +0000 |
| commit | bbf860ed710bacc0279c4cda2817f70e1200d04b (patch) | |
| tree | cedf1de792dc0dc9c865e78960139b4b0e7f45fa /tools/perf/scripts/python/mem-phys-addr.py | |
| parent | uas: Add US_FL_NO_REPORT_OPCODES for JMicron JMS583Gen 2 (diff) | |
| download | kernel-bbf860ed710bacc0279c4cda2817f70e1200d04b.tar.gz kernel-bbf860ed710bacc0279c4cda2817f70e1200d04b.zip | |
usb: gadget: Use correct endianness of the wLength field for WebUSB
WebUSB code uses wLength directly without proper endianness conversion.
Update it to use already prepared temporary variable w_length instead.
Fixes: 93c473948c58 ("usb: gadget: add WebUSB landing page support")
Signed-off-by: Andy Shevchenko <[email protected]>
Tested-By: Jó Ágila Bitsch <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions
