diff options
author | Krzysztof Kozlowski <[email protected]> | 2023-08-10 11:31:47 +0200 |
---|---|---|
committer | Guenter Roeck <[email protected]> | 2023-08-21 06:04:30 -0700 |
commit | d96e79d00ffbdac475a46e7e25d201b94e8dcea2 (patch) | |
tree | c6fb3f34ec112f6b87d38438cc14eab536482f3d /tools/perf/scripts/python/powerpc-hcalls.py | |
parent | 4a2a41dfff69ddc2bf9f1ac76fd7e98ab982f105 (diff) |
hwmon: (lm63) fix Wvoid-pointer-to-enum-cast warning
'kind' is an enum, thus cast of pointer on 64-bit compile test with W=1
causes:
lm63.c:1108: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/powerpc-hcalls.py')
0 files changed, 0 insertions, 0 deletions