diff options
author | Maximilian Luz <luzmaximilian@gmail.com> | 2022-07-17 14:07:35 +0200 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2022-07-17 16:20:35 +0200 |
commit | 7a4a04f4e90d746928501a6d551de87d02c28323 (patch) | |
tree | 431ca0124f2e71dcfaa21b12bee6c4ca4f27ad6c /crypto/chacha_generic.c | |
parent | 5c8b3f11565e64366d53295e8004edaa1fcf1ec9 (diff) | |
download | linux-7a4a04f4e90d746928501a6d551de87d02c28323.tar.bz2 |
platform/surface: tabletsw: Fix __le32 integer access
The sources.count field is a __le32 inside a packed struct. So use the
proper functions to access it.
Reported-by: kernel test robot <lkp@intel.com>
Fixes: 9f794056db5b ("platform/surface: Add KIP/POS tablet-mode switch driver")
Signed-off-by: Maximilian Luz <luzmaximilian@gmail.com>
Link: https://lore.kernel.org/r/20220717120735.2052160-1-luzmaximilian@gmail.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'crypto/chacha_generic.c')
0 files changed, 0 insertions, 0 deletions