* [PATCH] libfdt: add missing errors to fdt_strerror()
@ 2016-11-03 15:47 Benjamin Fair
[not found] ` <1478188062-8219-1-git-send-email-b-fair-l0cyMroinI0@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Benjamin Fair @ 2016-11-03 15:47 UTC (permalink / raw)
To: David Gibson, Jon Loeliger; +Cc: devicetree-compiler-u79uwXL29TY76Z2rM5mHXA
Some error values were missing from the table which meant that they could
not be translated by fdt_strerror().
Signed-off-by: Benjamin Fair <b-fair-l0cyMroinI0@public.gmane.org>
---
libfdt/fdt_strerror.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/libfdt/fdt_strerror.c b/libfdt/fdt_strerror.c
index 4ab3eb7..9677a18 100644
--- a/libfdt/fdt_strerror.c
+++ b/libfdt/fdt_strerror.c
@@ -77,6 +77,9 @@ static struct fdt_errtabent fdt_errtable[] = {
FDT_ERRTABENT(FDT_ERR_BADVERSION),
FDT_ERRTABENT(FDT_ERR_BADSTRUCTURE),
FDT_ERRTABENT(FDT_ERR_BADLAYOUT),
+ FDT_ERRTABENT(FDT_ERR_INTERNAL),
+ FDT_ERRTABENT(FDT_ERR_BADNCELLS),
+ FDT_ERRTABENT(FDT_ERR_BADVALUE),
FDT_ERRTABENT(FDT_ERR_BADOVERLAY),
FDT_ERRTABENT(FDT_ERR_NOPHANDLES),
};
--
1.9.1
^ permalink raw reply related [flat|nested] 2+ messages in thread[parent not found: <1478188062-8219-1-git-send-email-b-fair-l0cyMroinI0@public.gmane.org>]
* Re: [PATCH] libfdt: add missing errors to fdt_strerror() [not found] ` <1478188062-8219-1-git-send-email-b-fair-l0cyMroinI0@public.gmane.org> @ 2016-11-03 20:18 ` David Gibson 0 siblings, 0 replies; 2+ messages in thread From: David Gibson @ 2016-11-03 20:18 UTC (permalink / raw) To: Benjamin Fair; +Cc: Jon Loeliger, devicetree-compiler-u79uwXL29TY76Z2rM5mHXA [-- Attachment #1: Type: text/plain, Size: 1102 bytes --] On Thu, Nov 03, 2016 at 10:47:42AM -0500, Benjamin Fair wrote: > Some error values were missing from the table which meant that they could > not be translated by fdt_strerror(). > > Signed-off-by: Benjamin Fair <b-fair-l0cyMroinI0@public.gmane.org> Applied, thanks. > --- > libfdt/fdt_strerror.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/libfdt/fdt_strerror.c b/libfdt/fdt_strerror.c > index 4ab3eb7..9677a18 100644 > --- a/libfdt/fdt_strerror.c > +++ b/libfdt/fdt_strerror.c > @@ -77,6 +77,9 @@ static struct fdt_errtabent fdt_errtable[] = { > FDT_ERRTABENT(FDT_ERR_BADVERSION), > FDT_ERRTABENT(FDT_ERR_BADSTRUCTURE), > FDT_ERRTABENT(FDT_ERR_BADLAYOUT), > + FDT_ERRTABENT(FDT_ERR_INTERNAL), > + FDT_ERRTABENT(FDT_ERR_BADNCELLS), > + FDT_ERRTABENT(FDT_ERR_BADVALUE), > FDT_ERRTABENT(FDT_ERR_BADOVERLAY), > FDT_ERRTABENT(FDT_ERR_NOPHANDLES), > }; -- David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 819 bytes --] ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-11-03 20:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-03 15:47 [PATCH] libfdt: add missing errors to fdt_strerror() Benjamin Fair
[not found] ` <1478188062-8219-1-git-send-email-b-fair-l0cyMroinI0@public.gmane.org>
2016-11-03 20:18 ` David Gibson
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.