Nicholas Piggin's on May 2, 2019 5:37 pm: > diff --git a/libfdt/libfdt.h b/libfdt/libfdt.h > index 1f44177..c2dee3e 100644 > --- a/libfdt/libfdt.h > +++ b/libfdt/libfdt.h > @@ -138,7 +138,11 @@ > /* FDT_ERR_NOPHANDLES: The device tree doesn't have any > * phandle available anymore without causing an overflow */ > > -#define FDT_ERR_MAX 17 > +#define FDT_ERR_BADFLAGS 18 > + /* FDT_ERR_BADFLAGS: The function was passed a flags field that > + * contains invalid flags or an invalid combination of flags. */ > + > +#define FDT_ERR_MAX 18 Ooops, I missed fdt_strerror. Will resend after a ruling on the flag name. Thanks, Nick