From: Damien Lespiau Date: Wed, 8 May 2013 16:03:30 +0000 (+0100) Subject: drm: Add missing break in the command line mode parsing code X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=97fbfbf40b678b95551276e9413517ba7858dba7;p=openwrt%2Fstaging%2Fblogic.git drm: Add missing break in the command line mode parsing code As we parse the string given on the command line one char at a time, it seems that we do want a break at every case. Signed-off-by: Damien Lespiau Reviewed-by: Rodrigo Vivi Signed-off-by: Dave Airlie --- diff --git a/drivers/gpu/drm/drm_modes.c b/drivers/gpu/drm/drm_modes.c index f264d08062f0..7a83836879bc 100644 --- a/drivers/gpu/drm/drm_modes.c +++ b/drivers/gpu/drm/drm_modes.c @@ -1143,6 +1143,7 @@ bool drm_mode_parse_command_line_for_connector(const char *mode_option, was_digit = false; } else goto done; + break; case '0' ... '9': was_digit = true; break;