9
0
Fork 0
barebox/common/state
Michael Olbrich 872e6069d5 state: copy backend of_path string
Caching pointers to device tree nodes or names is not safe. The barebox
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@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2016-09-20 10:28:46 +02:00
..
Makefile state: only build circular backend if MTD is enabled 2016-07-25 10:21:16 +02:00
backend.c state: copy backend of_path string 2016-09-20 10:28:46 +02:00
backend_bucket_cached.c state: Refactor state framework 2016-07-08 08:59:31 +02:00
backend_bucket_circular.c state: Refactor state framework 2016-07-08 08:59:31 +02:00
backend_bucket_direct.c state: Refactor state framework 2016-07-08 08:59:31 +02:00
backend_format_dtb.c state: Refactor state framework 2016-07-08 08:59:31 +02:00
backend_format_raw.c state: Refactor state framework 2016-07-08 08:59:31 +02:00
backend_storage.c state: only build circular backend if MTD is enabled 2016-07-25 10:21:16 +02:00
state.c state: Save on shutdown 2016-07-22 12:44:22 +02:00
state.h state: copy backend of_path string 2016-09-20 10:28:46 +02:00
state_variables.c state: Refactor state framework 2016-07-08 08:59:31 +02:00