summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>2023-08-10 11:31:49 +0200
committerGuenter Roeck <linux@roeck-us.net>2023-08-21 06:04:30 -0700
commit8d84910a27ddd5c4a83df712424b7cab4ed95d3d (patch)
tree66f90a28f783fe7a2583e09c23754e311bc4141f /usr
parentc7e07faa48512f4beafef54b144a1e6df25c727f (diff)
downloadlinux-8d84910a27ddd5c4a83df712424b7cab4ed95d3d.tar.gz
linux-8d84910a27ddd5c4a83df712424b7cab4ed95d3d.tar.bz2
linux-8d84910a27ddd5c4a83df712424b7cab4ed95d3d.zip
hwmon: (lm85) fix Wvoid-pointer-to-enum-cast warning
'type' is an enum, thus cast of pointer on 64-bit compile test with W=1 causes: lm85.c:1562: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-7-krzysztof.kozlowski@linaro.org Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions