From: Tom Rini Date: Fri, 15 Sep 2017 08:30:31 -0400 Subject: [U-Boot] lib: strto: fix incorrect handling of specified base In-Reply-To: <20170911205310.19185-1-robdclark@gmail.com> References: <20170911205310.19185-1-robdclark@gmail.com> Message-ID: <20170915123031.GX4560@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Mon, Sep 11, 2017 at 04:53:08PM -0400, Rob Clark wrote: > 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 > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: