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@free-electrons.com> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>main
parent
7b7a6be9ba
commit
deb0a5c1ae
|
@ -69,6 +69,7 @@ static struct fdt_errtabent fdt_errtable[] = {
|
||||||
|
|
||||||
FDT_ERRTABENT(FDT_ERR_BADOFFSET),
|
FDT_ERRTABENT(FDT_ERR_BADOFFSET),
|
||||||
FDT_ERRTABENT(FDT_ERR_BADPATH),
|
FDT_ERRTABENT(FDT_ERR_BADPATH),
|
||||||
|
FDT_ERRTABENT(FDT_ERR_BADPHANDLE),
|
||||||
FDT_ERRTABENT(FDT_ERR_BADSTATE),
|
FDT_ERRTABENT(FDT_ERR_BADSTATE),
|
||||||
|
|
||||||
FDT_ERRTABENT(FDT_ERR_TRUNCATED),
|
FDT_ERRTABENT(FDT_ERR_TRUNCATED),
|
||||||
|
|
Loading…
Reference in New Issue