[PATCH v2 1/3] state: copy backend of_path string
Antony Pavlov
antonynpavlov at gmail.com
Fri Sep 16 01:12:43 PDT 2016
On Fri, 16 Sep 2016 08:43:38 +0200
Michael Olbrich <m.olbrich at pengutronix.de> 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 <m.olbrich at pengutronix.de>
--
Best regards,
Antony Pavlov
More information about the barebox
mailing list