projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f3c58ce
)
drm: Add missing break in the command line mode parsing code
author
Damien Lespiau
<damien.lespiau@intel.com>
Wed, 8 May 2013 16:03:30 +0000
(17:03 +0100)
committer
Dave Airlie
<airlied@redhat.com>
Fri, 10 May 2013 04:45:54 +0000
(14:45 +1000)
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 <damien.lespiau@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_modes.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/drm_modes.c
b/drivers/gpu/drm/drm_modes.c
index f264d08062f0963f95845a6366c2c8515adbb37e..7a83836879bc05d3aed39769cf710106a50d9341 100644
(file)
--- 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;