kernel_samsung_a53x/drivers/media/pci
Arnd Bergmann ee54c0cb9b media: sta2x11: fix irq handler cast
[ Upstream commit 3de49ae81c3a0f83a554ecbce4c08e019f30168e ]

clang-16 warns about casting incompatible function pointers:

drivers/media/pci/sta2x11/sta2x11_vip.c:1057:6: error: cast from 'irqreturn_t (*)(int, struct sta2x11_vip *)' (aka 'enum irqreturn (*)(int, struct sta2x11_vip *)') to 'irq_handler_t' (aka 'enum irqreturn (*)(int, void *)') converts to incompatible function type [-Werror,-Wcast-function-type-strict]

Change the prototype of the irq handler to the regular version with a
local variable to adjust the argument type.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
[hverkuil: update argument documentation]
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-19 09:23:14 +01:00
..
b2c2
bt8xx
cobalt
cx18
cx88
cx23885
cx25821
ddbridge
dm1105
dt3155
intel
ivtv
mantis
meye
netup_unidvb
ngene
pluto2
pt1
pt3
saa7134
saa7146
saa7164
smipcie
solo6x10
sta2x11 media: sta2x11: fix irq handler cast 2024-11-19 09:23:14 +01:00
ttpci
tw68
tw686x
tw5864
Kconfig
Makefile