aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_iface.c
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2024-02-13 10:54:47 +0100
committerHans Verkuil <[email protected]>2024-02-16 11:46:33 +0100
commit3de49ae81c3a0f83a554ecbce4c08e019f30168e (patch)
treef68ba3a25999e795f36ba74225bf4ce7b7e406c6 /net/lapb/lapb_iface.c
parent26a3a10342748862dcc8d22222563f6ca03d6ca3 (diff)
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 <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> [hverkuil: update argument documentation]
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions