Skip to content
Commit 05f0c746 authored by Etienne Carriere's avatar Etienne Carriere Committed by Tom Rini
Browse files

optee: fix copy of optee reserved-memory node



Fix the loop that parses FDT for a reserved memory node named "optee".

Before this change, if at least one subnode was found in the
reserved-memory node, the function endlessly looped since instruction
continue returned back in the loop without updating variable subnode.
This change fixes the issue by using a for loop.

Fixes: 6ccb05ea ("image: fdt: copy possible optee nodes to a loaded devicetree")
Signed-off-by: default avatarEtienne Carriere <etienne.carriere@linaro.org>
Signed-off-by: default avatarPatrick Delaunay <patrick.delaunay@st.com>
parent 07672c47
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment