commit | b2faaccbc9917b02a9a2daf904481ccae2b4b690 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Wed Jan 20 20:10:54 2021 -0700 |
committer | Tom Rini <trini@konsulko.com> | Fri Mar 12 17:41:35 2021 -0500 |
tree | 79186153ce0f6339b3f172bdffcd300e502e64db | |
parent | 5fc47e3f8384002b4cfcce5bc06707f56fc5fcba [diff] |
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: Simon Glass <sjg@chromium.org>