linux-stable/drivers/gpu/drm/arc
Laurent Pinchart 2c8aba81d3 drm: Constify drm_driver in drivers that don't modify it
A non-const structure containing function pointers is a possible attack
vector. The drm_driver structure is already const in most drivers, but
there are a few exceptions. Constify the structure in the drivers that
don't need to modify at, as a low-hanging fruit. The rest of the drivers
will need a more complex fix.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2021-01-05 07:20:36 +02:00
..
arcpgu.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 174 2019-05-30 11:26:41 -07:00
arcpgu_crtc.c drm: arc: Remove unnecessary drm_plane_cleanup() wrapper 2021-01-05 07:20:19 +02:00
arcpgu_drv.c drm: Constify drm_driver in drivers that don't modify it 2021-01-05 07:20:36 +02:00
arcpgu_hdmi.c drm/bridge: Extend bridge API to disable connector creation 2020-02-26 13:31:23 +02:00
arcpgu_regs.h DRM: ARC: PGU: replace unsupported by HW RGB888 format by XRGB888 2019-12-16 13:53:05 +03:00
arcpgu_sim.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 174 2019-05-30 11:26:41 -07:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00