[PATCH v3 08/29] arm: smh: Return errno on error

Tom Rini trini at konsulko.com
Sun Apr 3 02:15:24 CEST 2022


On Tue, Mar 22, 2022 at 04:59:16PM -0400, Sean Anderson wrote:

> Instead of printing in what are now library functions, try to return a
> numeric error code. This also adjust some functions (such as read) to
> behave more similarly to read(2). For example, we now return the number
> of bytes read instead of failing immediately on a short read.
> 
> Signed-off-by: Sean Anderson <sean.anderson at seco.com>

Applied to u-boot/next, thanks!

-- 
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/20220402/6b9acbad/attachment.sig>


More information about the U-Boot mailing list