Re: [PATCH 1/1] HID: hyperv: Correctly access fields declared as __le16

From: Wei Liu
Date: Wed Jun 08 2022 - 08:28:41 EST


On Tue, Jun 07, 2022 at 08:49:37PM -0700, Michael Kelley wrote:
> Add the use of le16_to_cpu() for fields declared as __le16. Because
> Hyper-V only runs in Little Endian mode, there's no actual bug.
> The change is made in the interest of general correctness in
> addition to making sparse happy. No functional change.
>
> Reported-by: kernel test robot <lkp@xxxxxxxxx>
> Signed-off-by: Michael Kelley <mikelley@xxxxxxxxxxxxx>

Applied to hyperv-fixes. Thanks.