Skip to content
Commit 7bd06587 authored by Simon Glass's avatar Simon Glass Committed by Tom Rini
Browse files

log: Add return-checking macros for 0 being success



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: default avatarSimon Glass <sjg@chromium.org>
parent 9ad7a6c2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment