Commit d6ea85f8 authored by Vishnu Sankar's avatar Vishnu Sankar Committed by Jiri Kosina
Browse files

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: default avatarVishnu Sankar <vishnuocv@gmail.com>
Signed-off-by: default avatarVishnu Sankar <vsankar@lenovo.com>
Reported-by: default avatarkernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202501101635.qJrwAOwf-lkp@intel.com/


Signed-off-by: default avatarJiri Kosina <jkosina@suse.com>
parent 58c9bf33
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment