diff options
author | Krzysztof Kozlowski <[email protected]> | 2023-08-10 11:31:50 +0200 |
---|---|---|
committer | Guenter Roeck <[email protected]> | 2023-08-21 06:04:30 -0700 |
commit | 1ef2ebf2631221cf6ee975be81e95cb512f43346 (patch) | |
tree | b4bb190a08ed8732f816c842e18db9743c9b539d /tools/perf/scripts/python/netdev-times.py | |
parent | 8d84910a27ddd5c4a83df712424b7cab4ed95d3d (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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions