linux/drivers/reset
Krzysztof Kozlowski 3d9a9c0881 reset: hisilicon: hi6220: fix Wvoid-pointer-to-enum-cast warning
[ Upstream commit b5ec294472 ]

'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:34:20 -08:00
..
hisilicon reset: hisilicon: hi6220: fix Wvoid-pointer-to-enum-cast warning 2024-01-25 14:34:20 -08:00
sti
tegra
core.c reset: Fix crash when freeing non-existent optional resets 2024-01-08 11:29:43 +01:00
Kconfig
Makefile
reset-a10sr.c
reset-ath79.c
reset-axs10x.c
reset-berlin.c
reset-brcmstb.c
reset-hsdk.c
reset-imx7.c
reset-lantiq.c
reset-lpc18xx.c
reset-meson-audio-arb.c
reset-meson.c
reset-oxnas.c
reset-pistachio.c
reset-qcom-aoss.c
reset-qcom-pdc.c
reset-scmi.c
reset-simple.c
reset-simple.h
reset-socfpga.c
reset-stm32mp1.c
reset-sunxi.c
reset-ti-sci.c firmware: ti_sci: Replace HTTP links with HTTPS ones 2023-11-20 10:30:12 +01:00
reset-ti-syscon.c
reset-uniphier-glue.c
reset-uniphier.c
reset-zynq.c
reset-zynqmp.c