]> git.ipfire.org Git - thirdparty/u-boot.git/commit
net: hifemac_mdio: use log_msg_ret() correctly, report error by dev_err()
authorYang Xiwen <forbidden405@outlook.com>
Mon, 22 Jan 2024 14:33:20 +0000 (22:33 +0800)
committerTom Rini <trini@konsulko.com>
Tue, 26 Mar 2024 23:58:26 +0000 (19:58 -0400)
commit3724ec4e5ca85666d648d2082915ef272500b5e7
treeda90e5b79e8d712f87d2a40c1aeba1e6d5e834af
parentf146c446e51184a33deb798e8169aaf654c044a6
net: hifemac_mdio: use log_msg_ret() correctly, report error by dev_err()

The initial commit used log_msg_ret() wrongly. Fix that by moving error
report to a separate dev_err() call and shrink the first argument of
log_msg_ret() to no more than 4 chars.

Fixes: 6b5c8d98e204 ("net: add hifemac_mdio MDIO bus driver for HiSilicon platform")
Signed-off-by: Yang Xiwen <forbidden405@outlook.com>
drivers/net/hifemac_mdio.c