]> git.sur5r.net Git - u-boot/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)
commitb616cef97aa8562a8c08558505675e255b5347cc
treedce9df5e72db11e292306f38b3dae5effad0cf72
parentc60f671b65a8b336c3533fcf0f0ee45dff287ff7
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