summaryrefslogtreecommitdiff
path: root/arch/mips/sgi-ip30/ip30-console.c
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2023-03-13 18:45:22 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-03-16 14:45:35 +0300
commitbbf860ed710bacc0279c4cda2817f70e1200d04b (patch)
treecedf1de792dc0dc9c865e78960139b4b0e7f45fa /arch/mips/sgi-ip30/ip30-console.c
parenta37eb61b6ec064ac794b8a1e89fd33eb582fe51d (diff)
downloadlinux-bbf860ed710bacc0279c4cda2817f70e1200d04b.tar.xz
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 <andriy.shevchenko@linux.intel.com> Tested-By: Jó Ágila Bitsch <jgilab@gmail.com> Link: https://lore.kernel.org/r/20230313154522.52684-1-andriy.shevchenko@linux.intel.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/mips/sgi-ip30/ip30-console.c')
0 files changed, 0 insertions, 0 deletions