Skip to content

log: Fix segfault in sandbox when LOG_LEVEL_DEFAULT >= LOGL_DEBUG

Sean Anderson u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3dev: Disambiguate errors in uclass_finddrivers/core/uclass.c test/dm/core.c test/dm/test-main.c+17 -31 reply
1/3dev: Disambiguate errors in uclass_find+0 -01 reply
2/3net: Expose some errors generated in net_initinclude/net.h net/eth-uclass.c net/net.c+15 -52 replies
3/3log: syslog: Handle errors in net_initcommon/log_syslog.c+3 -12 replies

Reviews trailers per patch

2 of 4 patches have a Reviewed-by or Acked-by.

PatchSimon Glass
1/3
1/3
2/3R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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