summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2021-01-21 06:10:54 +0300
committerTom Rini <trini@konsulko.com>2021-03-13 01:41:35 +0300
commit7bd06587decafabb56f68de3ae87adb4c49ca8db (patch)
tree79186153ce0f6339b3f172bdffcd300e502e64db /cmd
parent9ad7a6c25c7142a46fe4b811c13bc3280c4bb27f (diff)
downloadu-boot-7bd06587decafabb56f68de3ae87adb4c49ca8db.tar.xz
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>
Diffstat (limited to 'cmd')
0 files changed, 0 insertions, 0 deletions