]> git.dujemihanovic.xyz Git - u-boot.git/commit
initcall: Display error number when an error occurs
authorSimon Glass <sjg@chromium.org>
Thu, 2 Oct 2014 01:57:22 +0000 (19:57 -0600)
committerSimon Glass <sjg@chromium.org>
Wed, 22 Oct 2014 16:36:54 +0000 (10:36 -0600)
commitaacc6c5d106f33bec2b2371411922ff7d424beed
treedc2de5c1b00ce070e74dcee15278d880731d394c
parent10778398b3a0a05a4d00ee4a5b1d6a6f215eb37b
initcall: Display error number when an error occurs

Now that some initcall functions return a useful error number, display it
when something goes wrong.

Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Igor Grinberg <grinberg@compulab.co.il>
lib/initcall.c