[PATCH 13/15] RFC: lib: Support a binary prefix 0y
Wolfgang Denk
wd at denx.de
Fri Jul 23 08:55:41 CEST 2021
Dear Simon,
In message <CAPnjgZ1sCK0_3uiGcQPXBUyGoUmOPgbBDP7TNoekWeY=sa7Ssw at mail.gmail.com> you wrote:
>
> > Drop? AFAICT we never supported octal. Something like "md 040" will
> > start dumping at 0x00000040, right?
>
> There are quite a few places where simple_strtoul() is called with a
> base of 0. In that case, if the string starts with 0 it is interpreted
> as octal.
That's a bug, then.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
panic: can't find /
More information about the U-Boot
mailing list