Using DEVICE_DEFINE, a device without a corresponding DT node can be defined (for example CRYPTO_MTLS), Z_DEVICE_INIT() does not initialize dt_meta for such devices, leaving the field as NULL. device_get_dt_nodelabels() and functions calling it have to handle dev->dt_meta == NULL to prevent fatal errors. Signed-off-by: Jan Peters <peters@kt-elektronik.de> |
||
|---|---|---|
| .. | ||
| backends | ||
| modules | ||
| CMakeLists.txt | ||
| Kconfig | ||
| Kconfig.template.shell_log_queue_size | ||
| Kconfig.template.shell_log_queue_timeout | ||
| shell_cmds.c | ||
| shell_fprintf.c | ||
| shell_help.c | ||
| shell_help.h | ||
| shell_history.c | ||
| shell_log_backend.c | ||
| shell_ops.c | ||
| shell_ops.h | ||
| shell_utils.c | ||
| shell_utils.h | ||
| shell_vt100.h | ||
| shell_wildcard.c | ||
| shell_wildcard.h | ||
| shell.c | ||