[Crosstoolchain-logs] [device-tree-compiler] 21/22: libfdt: add missing errors to fdt_strerror()

Hector Oron zumbi at moszumanska.debian.org
Thu Dec 8 17:07:27 UTC 2016


This is an automated email from the git hooks/post-receive script.

zumbi pushed a commit to branch upstream/latest
in repository device-tree-compiler.

commit ea10f953878feea45ccdae846dbd3382e79e7f7e
Author: Benjamin Fair <b-fair at ti.com>
Date:   Thu Nov 3 10:47:42 2016 -0500

    libfdt: add missing errors to fdt_strerror()
    
    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 at ti.com>
    Signed-off-by: David Gibson <david at gibson.dropbear.id.au>
---
 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),
 };

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/crosstoolchain/device-tree-compiler.git



More information about the Crosstoolchain-logs mailing list