diff options
author | Piyush Mehta <[email protected]> | 2023-08-22 12:02:01 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2023-08-22 14:46:45 +0200 |
commit | 52ecf812de2548ea0704e67f99cea1d0f3b8b173 (patch) | |
tree | 0e8d2cccd8b78f05e7fe0d7ba1becd84ee29af00 /scripts/clang-tools/gen_compile_commands.py | |
parent | 0411fa8a5f655ebc0753e718fdfe68bc66a756f0 (diff) |
usb: gadget: udc-xilinx: fix incorrect type in assignment warning
The bitwise attribute is used by the sparse utility to make sure the
variable is converted to the local processor type before other (unsafe)
operations are performed on the variable. Fix the below sparse warnings
type casted with __le16:
warning: incorrect type in assignment (different base types)
expected unsigned short [usertype]
got restricted __le16 [usertype]
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