[PATCH v2 3/6] log: Add return-checking macros for 0 being success

Tom Rini trini at konsulko.com
Mon Mar 15 16:52:25 CET 2021

On Wed, Jan 20, 2021 at 08:10:54PM -0700, Simon Glass wrote:

> The existing log_ret() and log_msg_ret() macros consider an error to be
> less than zero. But some function may return a positive number to indicate
> a different kind of failure. Add macros to check for that also.
> Signed-off-by: Simon Glass <sjg at chromium.org>

Applied to u-boot/next, thanks!

-------------- 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/20210315/27745632/attachment.sig>

More information about the U-Boot mailing list