projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3715a54
)
image-fit: switch ENOLINK to ENOENT
author
Jonathan Gray
<jsg@jsg.id.au>
Fri, 2 Sep 2016 22:30:14 +0000
(08:30 +1000)
committer
Tom Rini
<trini@konsulko.com>
Wed, 7 Sep 2016 12:49:06 +0000
(08:49 -0400)
ENOLINK is not required by POSIX and does not exist on OpenBSD
and likely other systems.
Signed-off-by: Jonathan Gray <jsg@jsg.id.au>
common/image-fit.c
patch
|
blob
|
history
diff --git
a/common/image-fit.c
b/common/image-fit.c
index f833fe32cee566b662775b3eb1d9d227a6736391..9ce68f1c21d4408611877fbe7fe88a64de7939c0 100644
(file)
--- a/
common/image-fit.c
+++ b/
common/image-fit.c
@@
-1566,7
+1566,7
@@
int fit_get_node_from_config(bootm_headers_t *images, const char *prop_name,
noffset = fit_conf_get_prop_node(fit_hdr, cfg_noffset, prop_name);
if (noffset < 0) {
debug("* %s: no '%s' in config\n", prop_name, prop_name);
- return -ENO
LINK
;
+ return -ENO
ENT
;
}
return noffset;