linux-stable/drivers/reset
Krzysztof Kozlowski 8155a089c4 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:33:30 -08:00
..
hisilicon reset: hisilicon: hi6220: fix Wvoid-pointer-to-enum-cast warning 2024-01-25 14:33:30 -08:00
sti
tegra reset: tegra-bpmp: Restore Handle errors in BPMP response 2022-04-27 13:39:43 +02:00
Kconfig
Makefile
core.c reset: Fix crash when freeing non-existent optional resets 2024-01-08 11:27:33 +01:00
reset-a10sr.c
reset-ath79.c
reset-axs10x.c
reset-berlin.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-simple.c
reset-simple.h
reset-stm32mp1.c
reset-sunxi.c
reset-ti-sci.c
reset-ti-syscon.c reset: ti-syscon: fix to_ti_syscon_reset_data macro 2021-07-28 11:13:42 +02:00
reset-uniphier-usb3.c
reset-uniphier.c
reset-zynq.c