]> git.baikalelectronics.ru Git - uboot.git/commit
net: use log_err() for 'No ethernet found' message
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Mon, 14 Sep 2020 09:00:18 +0000 (11:00 +0200)
committerTom Rini <trini@konsulko.com>
Wed, 30 Sep 2020 20:48:18 +0000 (16:48 -0400)
commita1cc00d84caaf4ce2485096f7829715dae9d2a9e
tree9211cf4a5ce1a81cdd3c844a626fa0f57ad51de9
parent9bd2a5a3ab3de52eaac8ccc485e5a518c78c6b62
net: use log_err() for 'No ethernet found' message

Write the 'No ethernet found' message via the log drivers. This allows
suppressing it during output via the syslog driver.

This fixes the problem reported in:

[PATCH 0/4] log: Fix the syslog spam when running tests
https://lists.denx.de/pipermail/u-boot/2020-September/426343.html

Reported-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
net/eth-uclass.c
net/eth_legacy.c