WSL2-Linux-Kernel/drivers/reset
Krzysztof Kozlowski 274b4c8162 reset: hisilicon: hi6220: fix Wvoid-pointer-to-enum-cast warning
[ Upstream commit b5ec294472794ed9ecba0cb4b8208372842e7e0d ]

'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 <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20230810091300.70197-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-01-25 14:52:30 -08:00
..
hisilicon
sti
tegra
Kconfig
Makefile
core.c
reset-a10sr.c
reset-ath79.c
reset-axs10x.c
reset-bcm6345.c
reset-berlin.c
reset-brcmstb-rescal.c
reset-brcmstb.c
reset-hsdk.c
reset-imx7.c
reset-intel-gw.c
reset-k210.c
reset-lantiq.c
reset-lpc18xx.c
reset-meson-audio-arb.c
reset-meson.c
reset-microchip-sparx5.c
reset-npcm.c
reset-oxnas.c
reset-pistachio.c
reset-qcom-aoss.c
reset-qcom-pdc.c
reset-raspberrypi.c
reset-rzg2l-usbphy-ctrl.c
reset-scmi.c
reset-simple.c
reset-socfpga.c
reset-sunxi.c
reset-ti-sci.c
reset-ti-syscon.c
reset-uniphier-glue.c
reset-uniphier.c
reset-zynq.c
reset-zynqmp.c