[PATCH 0/3] log: Fix segfault in sandbox when LOG_LEVEL_DEFAULT >= LOGL_DEBUG

Sean Anderson seanga2 at gmail.com
Sat Sep 12 23:45:41 CEST 2020


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(-)

-- 
2.28.0



More information about the U-Boot mailing list