diff options
author | Krzysztof Kozlowski <[email protected]> | 2023-08-10 12:39:22 +0200 |
---|---|---|
committer | David S. Miller <[email protected]> | 2023-08-11 09:58:45 +0100 |
commit | c5b0c34fae1ef234982d55445b8aa482f0b05ba6 (patch) | |
tree | e637a10937c5ac108d12524aab043235c3c51d02 /tools/perf/scripts/python/task-analyzer.py | |
parent | ac3899c6229649737b9d5cb86e417c98243883dc (diff) |
net/xgene: fix Wvoid-pointer-to-enum-cast warning
'enet_id' is an enum, thus cast of pointer on 64-bit compile test with
W=1 causes:
xgene_enet_main.c:2044:20: error: cast to smaller integer type 'enum xgene_enet_id' from 'const void *' [-Werror,-Wvoid-pointer-to-enum-cast]
Signed-off-by: Krzysztof Kozlowski <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Tested-by: Simon Horman <[email protected]> # build-tested
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions