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)
commitad8959138fbca64d7999c79a8a73dff77f2deb98
tree9211cf4a5ce1a81cdd3c844a626fa0f57ad51de9
parentf6a158b996b3abee4e6315b29a488398cb3946df
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