[PATCH/RFC 3/3] drm: rcar_du: Constify drm_driver
Emil Velikov
emil.l.velikov at gmail.com
Mon Feb 24 15:26:05 UTC 2020
Thanks Laurent for sorting this out.
On Sat, 22 Feb 2020 at 17:59, Daniel Vetter <daniel at ffwll.ch> wrote:
>
> On Sat, Feb 22, 2020 at 05:24:30PM +0200, Laurent Pinchart wrote:
> > The drm_driver structure is never modified, make it const. The improves
> > security by avoiding writable function pointers.
> >
> > Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas at ideasonboard.com>
>
> I wonder whether there's some magic somewhere we could do to enlist the
> cocci army to create the constify patches for us ...
>
IIRC some drivers still manually thinker with their struct drm_driver ;-)
That said, the series looks good:
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
-Emil
More information about the dri-devel
mailing list