diff options
author | Maxime Ripard <maxime.ripard@bootlin.com> | 2019-08-27 13:58:49 +0200 |
---|---|---|
committer | Maxime Ripard <mripard@kernel.org> | 2019-08-30 10:21:21 +0200 |
commit | 3764137906a5acece8b5546873a70b1e6263a1a6 (patch) | |
tree | 87bfe0d9fb91eb740a11cd2a3180687e78719a35 /mm/memfd.c | |
parent | 728a257f652aee5dd03ecde90b11f414a255e08b (diff) | |
download | linux-3764137906a5acece8b5546873a70b1e6263a1a6.tar.bz2 |
drm/modes: Introduce a whitelist for the named modes
The named modes support has introduced a number of glitches that were in
part due to the fact that the parser will take any string as a named mode.
Since we shouldn't have a lot of options there (and they should be pretty
standard), let's introduce a whitelist of the available named modes so that
the kernel can differentiate between a poorly formed command line and a
named mode.
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
Tested-by: Thomas Graichen <thomas.graichen@gmail.com>
Reviewed-by: Jernej Skrabec <jernej.skrabec@siol.net>
Signed-off-by: Maxime Ripard <mripard@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20190827115850.25731-3-mripard@kernel.org
Diffstat (limited to 'mm/memfd.c')
0 files changed, 0 insertions, 0 deletions