diff options
| author | Krzysztof Kozlowski <[email protected]> | 2023-08-10 11:13:00 +0200 |
|---|---|---|
| committer | Philipp Zabel <[email protected]> | 2023-11-24 11:26:19 +0100 |
| commit | b5ec294472794ed9ecba0cb4b8208372842e7e0d (patch) | |
| tree | 54e8ef96ac785dd0bfe3ef78efe7e93db675e9ba /drivers/gpu/drm/amd/amdgpu/amdgpu_isp.c | |
| parent | b85ea95d086471afb4ad062012a4d73cd328fa86 (diff) | |
reset: hisilicon: hi6220: fix Wvoid-pointer-to-enum-cast warning
'type' is an enum, thus cast of pointer on 64-bit compile test with W=1
causes:
hi6220_reset.c:166:9: error: cast to smaller integer type 'enum hi6220_reset_ctrl_type' 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: Philipp Zabel <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_isp.c')
0 files changed, 0 insertions, 0 deletions