Skip to content
Snippets Groups Projects
Commit 3a028bb9 authored by Tomi Valkeinen's avatar Tomi Valkeinen
Browse files

OMAPFB: fix parsing of vram parameter


omapfb_parse_vram_param()'s check for end pointer returned from
simple_strtoul() is wrong, causing the code to bug if the second or
later vram parameters are non-parseable, for example
"omapfb.vram=0:2M,:5M".

However, even in that case the code will most likely bail out with
-EINVAL in the following checks, so the bug is probably not a fatal one.

Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
Reported-by: default avatarHein Tibosch <hein_tibosch@yahoo.es>
parent b3e68d30
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment