kernel_samsung_a53x/drivers/media/platform
Arnd Bergmann dec7e2753c media: mediatek: vcodec: avoid -Wcast-function-type-strict warning
[ Upstream commit bfb1b99802ef16045402deb855c197591dc78886 ]

The ipi handler here tries hard to maintain const-ness of its argument,
but by doing that causes a warning about function type casts:

drivers/media/platform/mediatek/vcodec/common/mtk_vcodec_fw_vpu.c:38:32: error: cast from 'mtk_vcodec_ipi_handler' (aka 'void (*)(void *, unsigned int, void *)') to 'ipi_handler_t' (aka 'void (*)(const void *, unsigned int, void *)') converts to incompatible function type [-Werror,-Wcast-function-type-strict]
   38 |         ipi_handler_t handler_const = (ipi_handler_t)handler;
      |                                       ^~~~~~~~~~~~~~~~~~~~~~

Remove the hack and just use a non-const argument.

Fixes: bf1d556ad4e0 ("media: mtk-vcodec: abstract firmware interface")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Ricardo Ribalda <ribalda@chromium.org>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-19 08:44:55 +01:00
..
am437x Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
atmel Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cadence Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
coda Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
davinci Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
exynos mfc: Reduce QoS boosting from Samsung hacks 2024-11-17 17:43:58 +01:00
exynos-gsc Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
exynos4-is Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
marvell-ccic Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mtk-jpeg media: mtk-jpeg: Fix use after free bug due to error path handling in mtk_jpeg_dec_device_run 2024-11-18 12:13:06 +01:00
mtk-mdp media: mediatek: vcodec: avoid -Wcast-function-type-strict warning 2024-11-19 08:44:55 +01:00
mtk-vcodec media: mediatek: vcodec: avoid -Wcast-function-type-strict warning 2024-11-19 08:44:55 +01:00
mtk-vpu media: mediatek: vcodec: avoid -Wcast-function-type-strict warning 2024-11-19 08:44:55 +01:00
omap Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
omap3isp Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
qcom media: qcom: camss: Fix vfe_get() error jump 2024-11-18 11:43:31 +01:00
rcar-vin Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rockchip/rga media: rockchip: rga: fix swizzling for RGB formats 2024-11-18 12:13:18 +01:00
s3c-camif media: s3c-camif: Avoid inappropriate kfree() 2024-11-18 11:43:07 +01:00
s5p-g2d Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
s5p-jpeg Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
s5p-mfc Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sti Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
stm32 Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sunxi media: sun8i-di: Fix chroma difference threshold 2024-11-19 08:44:54 +01:00
ti-vpe Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vsp1 Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
xilinx Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
aspeed-video.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fsl-viu.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
imx-pxp.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
imx-pxp.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
m2m-deinterlace.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mx2_emmaprp.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pxa_camera.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rcar-fcp.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rcar_drif.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rcar_fdp1.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rcar_jpu.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
renesas-ceu.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sh_vou.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
via-camera.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
via-camera.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
video-mux.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00