summaryrefslogtreecommitdiff
path: root/drivers/hwmon/pmbus/max20730.c
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>2023-08-10 11:31:50 +0200
committerGuenter Roeck <linux@roeck-us.net>2023-08-21 06:04:30 -0700
commit1ef2ebf2631221cf6ee975be81e95cb512f43346 (patch)
treeb4bb190a08ed8732f816c842e18db9743c9b539d /drivers/hwmon/pmbus/max20730.c
parent8d84910a27ddd5c4a83df712424b7cab4ed95d3d (diff)
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 'drivers/hwmon/pmbus/max20730.c')
0 files changed, 0 insertions, 0 deletions