linux/drivers/gpu/drm/exynos
Nathan Huckleberry 1261255531 drm/exynos: Fix return type for mixer_mode_valid and hdmi_mode_valid
The field mode_valid in exynos_drm_crtc_ops is expected to be of type enum
drm_mode_status (*mode_valid)(struct exynos_drm_crtc *crtc,
                                   const struct drm_display_mode *mode);

Likewise for mode_valid in drm_connector_helper_funcs.

The mismatched return type breaks forward edge kCFI since the underlying
function definition does not match the function hook definition.

The return type of mixer_mode_valid and hdmi_mode_valid should be changed
from int to enum drm_mode_status.

Reported-by: Dan Carpenter <error27@gmail.com>
Link: https://protect2.fireeye.com/v1/url?k=3e644738-5fef521d-3e65cc77-
74fe485cbff6-36ad29bf912d3c9f&q=1&e=5cc06174-77dd-4abd-ab50-
155da5711aa3&u=https%3A%2F%2Fgithub.com%2FClangBuiltLinux%2Flinux%2Fissues%2F
1703
Cc: llvm@lists.linux.dev
Signed-off-by: Nathan Huckleberry <nhuck@google.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
2022-09-26 10:13:00 +09:00
..
exynos7_drm_decon.c drm/exynos/exynos7_drm_decon: free resources when clk_set_parent() failed. 2022-07-12 13:56:54 +09:00
exynos5433_drm_decon.c drm: Drop drm_blend.h from drm_crtc.h 2022-06-20 23:53:55 +03:00
exynos_dp.c drm: Remove linux/i2c.h from drm_crtc.h 2022-07-05 21:15:23 +03:00
exynos_drm_crtc.c
exynos_drm_crtc.h
exynos_drm_dma.c
exynos_drm_dpi.c drm: Remove linux/fb.h from drm_crtc.h 2022-07-05 21:14:02 +03:00
exynos_drm_drv.c drm/exynos: mic: Rework initialization 2022-06-14 22:32:16 +09:00
exynos_drm_drv.h
exynos_drm_dsi.c
exynos_drm_fb.c drm: Drop drm_framebuffer.h from drm_crtc.h 2022-06-20 23:53:55 +03:00
exynos_drm_fb.h
exynos_drm_fbdev.c drm: Drop drm_framebuffer.h from drm_crtc.h 2022-06-20 23:53:55 +03:00
exynos_drm_fbdev.h
exynos_drm_fimc.c
exynos_drm_fimd.c drm: Drop drm_blend.h from drm_crtc.h 2022-06-20 23:53:55 +03:00
exynos_drm_g2d.c
exynos_drm_g2d.h
exynos_drm_gem.c
exynos_drm_gem.h
exynos_drm_gsc.c
exynos_drm_ipp.c drm: Drop drm_blend.h from drm_crtc.h 2022-06-20 23:53:55 +03:00
exynos_drm_ipp.h
exynos_drm_mic.c drm/exynos: mic: Rework initialization 2022-06-14 22:32:16 +09:00
exynos_drm_plane.c drm: Remove unnecessary include statements of drm_plane_helper.h 2022-07-26 18:42:04 +02:00
exynos_drm_plane.h
exynos_drm_rotator.c
exynos_drm_scaler.c drm: Drop drm_blend.h from drm_crtc.h 2022-06-20 23:53:55 +03:00
exynos_drm_vidi.c drm: Drop drm_framebuffer.h from drm_crtc.h 2022-06-20 23:53:55 +03:00
exynos_drm_vidi.h
exynos_hdmi.c drm/exynos: Fix return type for mixer_mode_valid and hdmi_mode_valid 2022-09-26 10:13:00 +09:00
exynos_mixer.c drm/exynos: Fix return type for mixer_mode_valid and hdmi_mode_valid 2022-09-26 10:13:00 +09:00
Kconfig
Makefile
regs-decon7.h
regs-decon5433.h
regs-fimc.h
regs-gsc.h
regs-hdmi.h
regs-mixer.h
regs-rotator.h
regs-scaler.h
regs-vp.h