Re: [PATCH] HID: lenovo: Fix to ensure the data as __le32 instead of u32

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 14 Jan 2025, Vishnu Sankar wrote:

> 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@xxxxxxxxx>
> Signed-off-by: Vishnu Sankar <vsankar@xxxxxxxxxx>
> Reported-by: kernel test robot <lkp@xxxxxxxxx>
> Closes: https://lore.kernel.org/oe-kbuild-all/202501101635.qJrwAOwf-lkp@xxxxxxxxx/

Sorry for the delay, this fell in between cracks. Now applied.

-- 
Jiri Kosina
SUSE Labs





[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux