Simon Glass b91c6a1209 Fix return value in trailing_strtoln()
This function should return -1 if there is no trailing integer in the
string. Instead it returns 0. Fix it by checking for this condition at the
start.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
2016-10-11 11:55:33 +08:00
..
2016-09-23 17:53:49 -04:00
2016-04-11 20:48:26 -04:00
2016-05-02 18:37:09 -04:00
2016-06-06 13:39:18 -04:00
2016-10-11 11:55:33 +08:00