On Fri, Sep 06, 2019 at 10:56:10AM +0300, Jani Nikula wrote: > On Fri, 06 Sep 2019, Maxime Ripard <mripard@xxxxxxxxxx> wrote: > > The commit 3764137906a5 ("drm/modes: Introduce a whitelist for the named > > modes") introduced a whitelist in the named modes lookup code in order to > > be a bit more robust. > > > > However, even though the char pointers were made const, the data they were > > pointing were not. Let's fix that. > > Or rather, the char pointers were const, and they pointed at const > string literals, but the array of pointers itself was not const. Right, I'm always confused with const in this case. I've updated the commit log, thanks! Maxime -- Maxime Ripard, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
Attachment:
signature.asc
Description: PGP signature
_______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/dri-devel