diff options
author | Piyush Mehta <[email protected]> | 2023-08-22 12:02:00 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2023-08-22 14:46:45 +0200 |
commit | 0411fa8a5f655ebc0753e718fdfe68bc66a756f0 (patch) | |
tree | 86325777e710ec6b1e0875d8b95cfbad25891b2e /scripts/clang-tools/gen_compile_commands.py | |
parent | 7f93e683bc0667a6b5e0da4b49fa07938a9ccad4 (diff) |
usb: gadget: udc-xilinx: fix cast from restricted __le16 warning
usb_ctrlrequest member wValue, wLength and wIndex are of type __le16,
conversion macro cpu_to_le16() input argument is __u16, so properly
typecasted to fix the cast from restricted __le16 warning.
Reported-by: kernel test robot <[email protected]>
Closes: https://lore.kernel.org/all/[email protected]/
Signed-off-by: Piyush Mehta <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/clang-tools/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions