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 media: dm1105: Fix use after free bug in dm1105_remove due to race condition 2023-05-11 23:03:15 +09:00
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 media: netup_unidvb: fix irq init by register it at the end of probe 2023-06-09 10:34:12 +02:00
ngene
pluto2
pt1
pt3
saa7134 media: saa7134: fix use after free bug in saa7134_finidev due to race condition 2023-05-11 23:03:15 +09:00
saa7164 media: saa7164: fix missing pci_disable_device() 2022-12-31 13:32:22 +01:00
smipcie
solo6x10 media: solo6x10: fix possible memory leak in solo_sysfs_init() 2022-12-31 13:32:13 +01:00
sta2x11 media: sta2x11: fix irq handler cast 2024-04-13 13:05:08 +02:00
tw68 media: pci: tw68: Fix null-ptr-deref bug in buf prepare and finish 2023-05-24 17:32:34 +01:00
tw686x
tw5864
zoran
Kconfig
Makefile