Browse Source

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@ti.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
main
Benjamin Fair 8 years ago committed by David Gibson
parent
commit
ea10f95387
  1. 3
      libfdt/fdt_strerror.c

3
libfdt/fdt_strerror.c

@ -77,6 +77,9 @@ static struct fdt_errtabent fdt_errtable[] = { @@ -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),
};

Loading…
Cancel
Save