From: Tom Rini Date: Mon, 15 Jun 2020 15:55:42 -0400 Subject: [PATCH] optee: fix copy of optee reserved-memory node In-Reply-To: <20200605092205.1.Ibab98d647c5748ec387b62823fa04035ac0afd74@changeid> References: <20200605092205.1.Ibab98d647c5748ec387b62823fa04035ac0afd74@changeid> Message-ID: <20200615195542.GK24893@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Fri, Jun 05, 2020 at 09:22:11AM +0200, Patrick Delaunay wrote: > From: Etienne Carriere > > 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: 6ccb05eae01b ("image: fdt: copy possible optee nodes to a loaded devicetree") > Signed-off-by: Etienne Carriere > Signed-off-by: Patrick Delaunay Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 659 bytes Desc: not available URL: