LLVM does check -Wcast-function-type-sctrict, which is triggered in a couple of places in the media subsystem. Signed-off-by: Ricardo Ribalda <ribalda@xxxxxxxxxxxx> --- Ricardo Ribalda (3): media: pci: sta2x11: Fix Wcast-function-type-strict warnings media: usb: pvrusb2: Fix Wcast-function-type-strict warnings media: mediatek: vcodedc: Fix Wcast-function-type-strict warnings drivers/media/pci/sta2x11/sta2x11_vip.c | 5 +++-- drivers/media/platform/mediatek/vcodec/common/mtk_vcodec_fw_vpu.c | 6 ++++-- drivers/media/usb/pvrusb2/pvrusb2-context.c | 5 +++-- drivers/media/usb/pvrusb2/pvrusb2-dvb.c | 7 ++++--- drivers/media/usb/pvrusb2/pvrusb2-v4l2.c | 7 ++++--- 5 files changed, 18 insertions(+), 12 deletions(-) --- base-commit: 615d300648869c774bd1fe54b4627bb0c20faed4 change-id: 20240128-fix-clang-warnings-6c12920467cb Best regards, -- Ricardo Ribalda <ribalda@xxxxxxxxxxxx>