Home
last modified time | relevance | path

Searched hist:"2 e794614838292499910060509d3c4a7aaed986a" (Results 1 – 1 of 1) sorted by relevance

/openbmc/u-boot/lib/
H A Dstrto.cdiff 2e794614838292499910060509d3c4a7aaed986a Mon Sep 11 15:53:08 CDT 2017 Rob Clark <robdclark@gmail.com> lib: strto: fix incorrect handling of specified base

The strto functions should honor the specified base (if non-zero) rather
than permitting a hex or octal string when the user wanted (for example)
base 10.

This has been fixed somewhere along the way in the upstream linux kernel
src tree, at some point after these was copied in to u-boot. And also
in a way that duplicates less code. So port _parse_integer_fixup_radix()
to u-boot.

Signed-off-by: Rob Clark <robdclark@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>