aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/lima/lima_gem.c
diff options
context:
space:
mode:
authorMaxime Ripard <[email protected]>2019-09-06 07:46:14 +0000
committerMaxime Ripard <[email protected]>2019-09-06 15:55:33 +0000
commita3200debde5fda3e25f7e22cb2bc17a9280f7811 (patch)
treed93a92ecadca7a120e7183a5aac2772f89d610f0 /drivers/gpu/drm/lima/lima_gem.c
parentdrm/selftests: modes: Add more unit tests for the cmdline parser (diff)
downloadkernel-a3200debde5fda3e25f7e22cb2bc17a9280f7811.tar.gz
kernel-a3200debde5fda3e25f7e22cb2bc17a9280f7811.zip
drm/modes: Make the whitelist more const
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 array itself was not. Let's fix that. Fixes: 3764137906a5 ("drm/modes: Introduce a whitelist for the named modes") Suggested-by: Jani Nikula <[email protected]> Reviewed-by: Jani Nikula <[email protected]> Signed-off-by: Maxime Ripard <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/lima/lima_gem.c')
0 files changed, 0 insertions, 0 deletions