[RESEND PATCH v2 09/18] lib: sscanf: add sscanf implementation
Tom Rini
trini at konsulko.com
Fri Aug 14 21:50:41 CEST 2020
On Thu, Aug 06, 2020 at 12:42:52PM +0300, Anastasiia Lukianenko wrote:
> From: Andrii Anisov <andrii_anisov at epam.com>
>
> Port sscanf implementation from mini-os and introduce new
> Kconfig option to enable it: CONFIG_SSCANF. Disable by default.
>
> Signed-off-by: Andrii Anisov <andrii_anisov at epam.com>
> Signed-off-by: Anastasiia Lukianenko <anastasiia_lukianenko at epam.com>
> Signed-off-by: Oleksandr Andrushchenko <oleksandr_andrushchenko at epam.com>
Applied to u-boot/master, thanks!
But please note:
ERROR: do not use assignment in if condition
#630: FILE: lib/sscanf.c:558:
+ if ((n = inr) < width) {
Is that really what you wanted?
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200814/24e7b149/attachment.sig>
More information about the U-Boot
mailing list