linux-stable/drivers/media/pci
Arnd Bergmann 84ed33a082 media: sta2x11: fix irq handler cast
[ Upstream commit 3de49ae81c ]

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-04-13 13:05:08 +02:00
..
b2c2
bt8xx media: bttv: fix use after free error due to btv->timeout timer 2023-11-20 11:52:14 +01:00
cobalt media: cobalt: Use FIELD_GET() to extract Link Width 2023-11-28 17:07:02 +00:00
cx18
cx88
cx23885 media: pci: cx23885: replace BUG with error return 2023-09-23 11:11:06 +02:00
cx25821
ddbridge media: ddbridge: fix an error code problem in ddb_probe 2024-02-05 20:12:56 +00:00
dm1105
dt3155
intel media: pci: ipu3-cio2: Initialise timing struct to avoid a compiler warning 2023-09-23 11:11:07 +02:00
ivtv
mantis
netup_unidvb
ngene
pluto2
pt1
pt3
saa7134
saa7164
smipcie
solo6x10
sta2x11 media: sta2x11: fix irq handler cast 2024-04-13 13:05:08 +02:00
tw68
tw686x
tw5864
zoran
Kconfig
Makefile