diff options
author | Krzysztof Kozlowski <[email protected]> | 2023-08-10 11:31:45 +0200 |
---|---|---|
committer | Guenter Roeck <[email protected]> | 2023-08-21 06:04:30 -0700 |
commit | 3ff0befaefeffd92c828b961ba3a582490bab777 (patch) | |
tree | b51ebcf54fa8d2aebc033ea82e8cc8c6474c45a7 /tools/perf/scripts/python/sctop.py | |
parent | c8b73e42f5bbc9ac134192d57bcc19ff225c95ad (diff) |
hwmon: (ads7828) fix Wvoid-pointer-to-enum-cast warning
'chip' is an enum, thus cast of pointer on 64-bit compile test with W=1
causes:
ads7828.c:142:10: error: cast to smaller integer type 'enum ads7828_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/sctop.py')
0 files changed, 0 insertions, 0 deletions