[rtems commit] libfdt: Add BADPHANDLE error string
Sebastian Huber
sebh at rtems.org
Thu Jul 19 05:07:41 UTC 2018
Module: rtems
Branch: master
Commit: 4f7c3ac981fe67fade2b4e5d5e1818a4b2c5242b
Changeset: http://git.rtems.org/rtems/commit/?id=4f7c3ac981fe67fade2b4e5d5e1818a4b2c5242b
Author: Maxime Ripard <maxime.ripard at free-electrons.com>
Date: Thu Oct 6 13:39:56 2016 +0200
libfdt: Add BADPHANDLE error string
The BADPHANDLE error was missing a string, leading to an <unknown error>
string being returned if you were to call fdt_strerror.
Signed-off-by: Maxime Ripard <maxime.ripard at free-electrons.com>
Signed-off-by: David Gibson <david at gibson.dropbear.id.au>
---
cpukit/dtc/libfdt/fdt_strerror.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/cpukit/dtc/libfdt/fdt_strerror.c b/cpukit/dtc/libfdt/fdt_strerror.c
index 3cb357f..e00fcb1 100644
--- a/cpukit/dtc/libfdt/fdt_strerror.c
+++ b/cpukit/dtc/libfdt/fdt_strerror.c
@@ -69,6 +69,7 @@ static struct fdt_errtabent fdt_errtable[] = {
FDT_ERRTABENT(FDT_ERR_BADOFFSET),
FDT_ERRTABENT(FDT_ERR_BADPATH),
+ FDT_ERRTABENT(FDT_ERR_BADPHANDLE),
FDT_ERRTABENT(FDT_ERR_BADSTATE),
FDT_ERRTABENT(FDT_ERR_TRUNCATED),
More information about the vc
mailing list