summaryrefslogtreecommitdiffstats
path: root/drivers/hv
diff options
context:
space:
mode:
authorMichael Kelley <mikelley@microsoft.com>2022-06-07 20:49:37 -0700
committerWei Liu <wei.liu@kernel.org>2022-06-08 12:28:13 +0000
commitf5f93d7f5a5cbfef02609dead21e7056e83f4fab (patch)
tree627c0f6dc8a74f17ae0c043a29bbc4f4e5909794 /drivers/hv
parent245b993d8f6c4e25f19191edfbd8080b645e12b1 (diff)
downloadlinux-f5f93d7f5a5cbfef02609dead21e7056e83f4fab.tar.bz2
HID: hyperv: Correctly access fields declared as __le16
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@intel.com> Signed-off-by: Michael Kelley <mikelley@microsoft.com> Link: https://lore.kernel.org/r/1654660177-115463-1-git-send-email-mikelley@microsoft.com Signed-off-by: Wei Liu <wei.liu@kernel.org>
Diffstat (limited to 'drivers/hv')
0 files changed, 0 insertions, 0 deletions