diff options
author | 2023-08-10 11:31:50 +0200 | |
---|---|---|
committer | 2023-08-21 06:04:30 -0700 | |
commit | 1ef2ebf2631221cf6ee975be81e95cb512f43346 (patch) | |
tree | b4bb190a08ed8732f816c842e18db9743c9b539d /tools/perf/scripts/python/task-analyzer.py | |
parent | hwmon: (lm85) fix Wvoid-pointer-to-enum-cast warning (diff) | |
download | wireguard-linux-1ef2ebf2631221cf6ee975be81e95cb512f43346.tar.xz wireguard-linux-1ef2ebf2631221cf6ee975be81e95cb512f43346.zip |
hwmon: (lm90) fix Wvoid-pointer-to-enum-cast warning
'kind' is an enum, thus cast of pointer on 64-bit compile test with W=1
causes:
lm90.c:2768:16: error: cast to smaller integer type 'enum chips' from 'const void *' [-Werror,-Wvoid-pointer-to-enum-cast]
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20230810093157.94244-8-krzysztof.kozlowski@linaro.org
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions