Searched hist:e91fc483552df10291f9efac5dd9241ca129f2a4 (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/hid/ |
H A D | hid-mcp2221.c | diff e91fc483552df10291f9efac5dd9241ca129f2a4 Thu Oct 20 17:29:59 CEST 2022 Matt Ranostay <matt.ranostay@konsulko.com> 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>
|