Home
last modified time | relevance | path

Searched hist:b87b0d8d79e05f85e4f18200eac4283d513c3f3c (Results 1 – 1 of 1) sorted by relevance

/openbmc/u-boot/lib/
H A Dstrto.cdiff b87b0d8d79e05f85e4f18200eac4283d513c3f3c Thu Sep 06 02:08:44 CDT 2018 Miquel Raynal <miquel.raynal@bootlin.com> lib: strto: fix metric suffix parsing in strtoul[l]

While 1kB or 1kiB will be parsed correctly, 1k will return the right
amount, but the metric suffix will not be escaped once the char
pointer updated. Fix this situation by simplifying the move of the
endp pointer.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Reviewed-by: Stefan Roese <sr@denx.de>