log: Fix segfault in sandbox when LOG_LEVEL_DEFAULT >= LOGL_DEBUG
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | dev: Disambiguate errors in uclass_finddrivers/ test/ test/ | +17 | 1 reply | |
| 1/3 | dev: Disambiguate errors in uclass_find | +0 | 1 reply | |
| 2/3 | net: Expose some errors generated in net_initinclude/ net/ net/ | +15 | 2 replies | |
| 3/3 | log: syslog: Handle errors in net_initcommon/ | +3 | 2 replies |
Reviews trailers per patch
2 of 4 patches have a Reviewed-by or Acked-by.
| Patch | Simon Glass |
|---|---|
| 1/3 | |
| 1/3 | |
| 2/3 | R-b |
| 3/3 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/3] log: Fix segfault in sandbox when LOG_LEVEL_DEFAULT >= LOGL_DEBUG
Since the syslog feature has been introduced, sandbox no longer boots when LOG_LEVEL_DEFAULT prints cdebug messages. This is because it tries to call net_init before initf_dm.
Sean Anderson (3):
dev: Disambiguate errors in uclass_find
net: Expose some errors generated in net_init
log: syslog: Handle errors in net_init
common/log_syslog.c | 4 +++- drivers/core/uclass.c | 16 +++++++++++++++- include/net.h | 2 +- net/eth-uclass.c | 3 +++ net/net.c | 15 +++++++++++---- test/dm/core.c | 2 +- test/dm/test-main.c | 2 +- 7 files changed, 35 insertions(+), 9 deletions(-)
Signature · 1 line
2.28.0