]> git.baikalelectronics.ru Git - uboot.git/commit
log: Add a way to log a return value with a message
authorSimon Glass <sjg@chromium.org>
Mon, 11 Jun 2018 19:07:14 +0000 (13:07 -0600)
committerSimon Glass <sjg@chromium.org>
Mon, 9 Jul 2018 15:11:00 +0000 (09:11 -0600)
commitdc8e59e83f7330ff758bba68b3025eadd4f772df
treedce9df5e72db11e292306f38b3dae5effad0cf72
parent92c55dcabcd3ee3302005679ae9b28bfcdaef7b4
log: Add a way to log a return value with a message

It is sometimes useful to show a message when logging an error return
value, perhaps to add a few details about the problem. Add a function to
support this.

Signed-off-by: Simon Glass <sjg@chromium.org>
include/log.h