Re: [U-Boot] [PATCH] syscon: reset node list syscon_list after relocation

2018-10-22 Thread Patrick DELAUNAY
Hi Simon, > From: s...@google.com On Behalf Of Simon Glass > Sent: vendredi 19 octobre 2018 05:25 > > Hi Patrick, > > On 12 October 2018 at 09:26, Patrick Delaunay > wrote: > > Reset the list head after the reallocation because the list > > syscon_list use allocated pointer and they are no mor

Re: [U-Boot] [PATCH] syscon: reset node list syscon_list after relocation

2018-10-18 Thread Simon Glass
Hi Patrick, On 12 October 2018 at 09:26, Patrick Delaunay wrote: > Reset the list head after the reallocation because the list syscon_list > use allocated pointer and they are no more valid. > This patch avoid issue (crash) when syscon_node_to_regmap() is called > before and after reallocation. >

[U-Boot] [PATCH] syscon: reset node list syscon_list after relocation

2018-10-12 Thread Patrick Delaunay
Reset the list head after the reallocation because the list syscon_list use allocated pointer and they are no more valid. This patch avoid issue (crash) when syscon_node_to_regmap() is called before and after reallocation. Signed-off-by: Patrick Delaunay --- Hi This patch correct a crash see on