diff options
author | Ruslan Bilovol <[email protected]> | 2021-06-17 19:27:55 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2021-06-21 11:22:53 +0200 |
commit | 33cb46c4676d01956811b68a29157ea969a5df70 (patch) | |
tree | 4742d3dc3ecc830b23f3b09d84214620cdd74b74 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | f2dca339fa7d7089c66ece2ad6b69185093bc06e (diff) |
usb: gadget: f_hid: fix endianness issue with descriptors
Running sparse checker it shows warning message about
incorrect endianness used for descriptor initialization:
| f_hid.c:91:43: warning: incorrect type in initializer (different base types)
| f_hid.c:91:43: expected restricted __le16 [usertype] bcdHID
| f_hid.c:91:43: got int
Fixing issue with cpu_to_le16() macro, however this is not a real issue
as the value is the same both endians.
Cc: Fabien Chouteau <[email protected]>
Cc: Segiy Stetsyuk <[email protected]>
Signed-off-by: Ruslan Bilovol <[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/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions