On Fri, 3 Sept 2021 at 07:16, Thierry Reding <thierry.red...@gmail.com> wrote:
>
> From: Thierry Reding <tred...@nvidia.com>
>
> In order make it possible to use fdtdec_get_carveout() in loops, return
> FDT_ERR_NOTFOUND when the passed-in index exceeds the number of phandles
> present in the given property.
>
> Signed-off-by: Thierry Reding <tred...@nvidia.com>
> ---
>  lib/fdtdec.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Simon Glass <s...@chromium.org>

Reply via email to