linux/drivers/media/pci/sta2x11
Arnd Bergmann 3de49ae81c media: sta2x11: fix irq handler cast
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]
2024-02-16 11:46:33 +01:00
..
Kconfig media: sta2x11: remove VIRT_TO_BUS dependency 2022-06-27 09:12:14 +01:00
Makefile
sta2x11_vip.c media: sta2x11: fix irq handler cast 2024-02-16 11:46:33 +01:00
sta2x11_vip.h media: media/pci: fix kerneldoc issues in two headers 2021-03-22 10:22:50 +01:00