linux/drivers/reset
Krzysztof Kozlowski 88c38fd2f3 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-20 11:51:44 +01:00
..
hisilicon reset: hisilicon: hi6220: fix Wvoid-pointer-to-enum-cast warning 2024-01-20 11:51:44 +01:00
starfive reset: starfive: jh7110: Add StarFive STG/ISP/VOUT resets support 2023-07-26 11:45:31 -07:00
sti reset: sti: simplify driver's config and build 2023-05-08 09:28:31 +02:00
tegra reset: tegra-bpmp: Restore Handle errors in BPMP response 2022-04-04 11:14:13 +02:00
core.c reset: Fix crash when freeing non-existent optional resets 2024-01-01 12:42:26 +00:00
Kconfig ARM: SoC drivers for 6.5 2023-06-29 15:22:19 -07:00
Makefile ARM: SoC drivers for 6.5 2023-06-29 15:22:19 -07:00
reset-a10sr.c
reset-ath79.c reset: ath79: remove unneeded call to platform_set_drvdata() 2023-08-08 15:31:00 +02:00
reset-axs10x.c reset: axs10x: Use devm_platform_ioremap_resource() 2023-05-08 09:28:31 +02:00
reset-bcm6345.c reset: bcm6345: remove unneeded call to platform_set_drvdata() 2023-08-08 15:31:00 +02:00
reset-berlin.c
reset-brcmstb-rescal.c reset: brcmstb-rescal: Use devm_platform_ioremap_resource() 2023-05-08 09:28:31 +02:00
reset-brcmstb.c
reset-hsdk.c reset: reset-hsdk: Use devm_platform_ioremap_resource() 2023-05-08 09:28:31 +02:00
reset-imx7.c reset: Explicitly include correct DT includes 2023-07-28 17:36:20 +02:00
reset-intel-gw.c reset: Explicitly include correct DT includes 2023-07-28 17:36:20 +02:00
reset-k210.c reset: Explicitly include correct DT includes 2023-07-28 17:36:20 +02:00
reset-lantiq.c reset: lantiq: remove unneeded call to platform_set_drvdata() 2023-08-08 15:31:00 +02:00
reset-lpc18xx.c reset: lpc18xx: remove unneeded call to platform_set_drvdata() 2023-08-08 15:31:00 +02:00
reset-ma35d1.c reset: Add Nuvoton ma35d1 reset driver support 2023-06-05 13:18:09 +02:00
reset-meson-audio-arb.c reset: Explicitly include correct DT includes 2023-07-28 17:36:20 +02:00
reset-meson.c reset: meson: remove unneeded call to platform_set_drvdata() 2023-08-08 15:31:00 +02:00
reset-microchip-sparx5.c reset: Explicitly include correct DT includes 2023-07-28 17:36:20 +02:00
reset-mpfs.c reset: Explicitly include correct DT includes 2023-07-28 17:36:20 +02:00
reset-npcm.c reset: npcm: remove unneeded call to platform_set_drvdata() 2023-08-08 15:31:00 +02:00
reset-pistachio.c
reset-qcom-aoss.c reset: Explicitly include correct DT includes 2023-07-28 17:36:20 +02:00
reset-qcom-pdc.c reset: Explicitly include correct DT includes 2023-07-28 17:36:20 +02:00
reset-raspberrypi.c
reset-rzg2l-usbphy-ctrl.c reset: renesas: Check return value of reset_control_deassert() 2022-04-04 11:00:27 +02:00
reset-scmi.c
reset-simple.c reset: Explicitly include correct DT includes 2023-07-28 17:36:20 +02:00
reset-socfpga.c
reset-sunplus.c reset: Add Sunplus SP7021 reset driver 2022-07-08 14:23:39 +02:00
reset-sunxi.c
reset-ti-sci.c treewide: Replace GPLv2 boilerplate/reference with SPDX - gpl-2.0_320.RULE 2022-06-10 14:51:36 +02:00
reset-ti-syscon.c reset: ti: syscon: remove unneeded call to platform_set_drvdata() 2023-08-08 15:31:00 +02:00
reset-tn48m.c reset: Add Delta TN48M CPLD reset controller 2022-02-25 09:59:35 +01:00
reset-tps380x.c reset: tps380x: Fix spelling mistake "Voltags" -> "Voltage" 2022-07-28 14:08:50 +02:00
reset-uniphier-glue.c reset: uniphier-glue: remove unneeded call to platform_set_drvdata() 2023-08-08 15:31:00 +02:00
reset-uniphier.c reset: Explicitly include correct DT includes 2023-07-28 17:36:20 +02:00
reset-zynq.c reset: zynq: remove unneeded call to platfrom_set_drvdata() 2023-08-08 15:31:00 +02:00
reset-zynqmp.c reset: zynqmp: removed unneeded call to platform_set_drvdata() 2023-08-08 15:31:00 +02:00