linux-stable/drivers/media
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
..
cec media: cec: meson: always include meson sub-directory in Makefile 2023-11-20 11:52:15 +01:00
common media: v4l2-tpg: fix some memleaks in tpg_alloc 2024-03-26 18:20:46 -04:00
dvb-core media: edia: dvbdev: fix a use-after-free 2024-03-26 18:20:46 -04:00
dvb-frontends media: dvb-frontends: avoid stack overflow warnings with clang 2024-03-26 18:20:51 -04:00
firewire
i2c media: tc358743: register v4l2 async device only after successful setup 2024-03-26 18:20:45 -04:00
mc media: mc: Expand MUST_CONNECT flag to always require an enabled link 2024-04-03 15:19:25 +02:00
mmc
pci media: sta2x11: fix irq handler cast 2024-04-13 13:05:08 +02:00
platform media: mediatek: vcodec: avoid -Wcast-function-type-strict warning 2024-03-26 18:20:51 -04:00
radio media: radio-shark: Add endpoint checks 2023-05-30 14:03:20 +01:00
rc media: rc: bpf attach/detach requires write permission 2024-02-23 09:12:41 +01:00
spi
test-drivers media: vivid: avoid integer overflow 2023-11-28 17:07:02 +00:00
tuners media: xc4000: Fix atomicity violation in xc4000_get_frequency 2024-04-03 15:19:25 +02:00
usb media: go7007: fix a memleak in go7007_load_encoder 2024-03-26 18:20:51 -04:00
v4l2-core media: v4l2-mem2mem: fix a memleak in v4l2_m2m_register_entity 2024-03-26 18:20:46 -04:00
Kconfig media: remove reference to CONFIG_EMBEDDED in MEDIA_SUPPORT_FILTER 2022-09-08 18:19:29 +02:00
Makefile