From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sean Anderson Date: Sat, 12 Sep 2020 17:45:41 -0400 Subject: [PATCH 0/3] log: Fix segfault in sandbox when LOG_LEVEL_DEFAULT >= LOGL_DEBUG Message-ID: <20200912214544.362594-1-seanga2@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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