HID: lenovo: Fix to ensure the data as __le32 instead of u32
Ensure that data is treated as __le32 instead of u32 before applying le32_to_cpu. This patch fixes the sparse warning "sparse: cast to restricted __le32". Signed-off-by:Vishnu Sankar <vishnuocv@gmail.com> Signed-off-by:
Vishnu Sankar <vsankar@lenovo.com> Reported-by:
kernel test robot <lkp@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202501101635.qJrwAOwf-lkp@intel.com/ Signed-off-by:
Jiri Kosina <jkosina@suse.com>
Loading
Please sign in to comment