diff options
author | Guenter Roeck <linux@roeck-us.net> | 2024-06-06 21:05:07 +0300 |
---|---|---|
committer | Tzung-Bi Shih <tzungbi@kernel.org> | 2024-06-07 12:59:58 +0300 |
commit | c8a4bdca928debacf49524d1b09dbf27e88e1f18 (patch) | |
tree | ba59341fddc1947e1e8fa885625bc6faaabfc0bb /scripts/gdb/linux/tasks.py | |
parent | 1f72dd046270ff44e5fd43045c4d0bb025f88607 (diff) | |
download | linux-c8a4bdca928debacf49524d1b09dbf27e88e1f18.tar.xz |
hwmon: (cros_ec) Fix access to restricted __le16
0-day complains:
drivers-hwmon-cros_ec_hwmon.c:sparse:sparse:cast-to-restricted-__le16
Fix by using a __le16 typed variable as parameter to le16_to_cpu().
Fixes: bc3e45258096 ("hwmon: add ChromeOS EC driver")
Cc: Thomas Weißschuh <linux@weissschuh.net>
Cc: Tzung-Bi Shih <tzungbi@kernel.org>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Acked-by: Thomas Weißschuh <linux@weissschuh.net>
Link: https://lore.kernel.org/r/20240606180507.3332237-1-linux@roeck-us.net
Signed-off-by: Tzung-Bi Shih <tzungbi@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions