diff options
author | Matt Ranostay <matt.ranostay@konsulko.com> | 2022-10-20 23:29:59 +0800 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2022-10-21 13:44:05 +0200 |
commit | e91fc483552df10291f9efac5dd9241ca129f2a4 (patch) | |
tree | 1d93329b0ee548352fbfe09e24e84b371785abff /Documentation/riscv | |
parent | daf405c8b9b93388295dec07391798039d0f5c26 (diff) | |
download | linux-stable-e91fc483552df10291f9efac5dd9241ca129f2a4.tar.gz linux-stable-e91fc483552df10291f9efac5dd9241ca129f2a4.tar.bz2 linux-stable-e91fc483552df10291f9efac5dd9241ca129f2a4.zip |
HID: mcp2221: fix 'cast to restricted __le16' sparse warnings
Use (__force __le16) cast for adc_values le16_to_cpu conversion to correct following sparse
warnings:
drivers/hid/hid-mcp2221.c:950:32: sparse: sparse: cast to restricted __le16
Reported-by: kernel test robot <lkp@intel.com>
Fixes: 960f9df7c620 ("HID: mcp2221: add ADC/DAC support via iio subsystem")
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'Documentation/riscv')
0 files changed, 0 insertions, 0 deletions