Re: [PATCH v2 1/3] state: copy backend of_path string
From: Antony Pavlov <hidden>
Date: 2016-09-16 08:09:25
From: Antony Pavlov <hidden>
Date: 2016-09-16 08:09:25
On Fri, 16 Sep 2016 08:43:38 +0200 Michael Olbrich [off-list ref] wrote:
Caching pointers to device tree nodes or names is not save. The barebox
^^^^ safe?
internal device tree may be changed by loading a new device tree or through fixup handlers. As a result, the string may be deleted. Use local copies of the full path instead. Signed-off-by: Michael Olbrich <redacted>
-- Best regards, Antony Pavlov _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox