]> git.dujemihanovic.xyz Git - u-boot.git/commit
net: hifemac: fix log reporting
authorYang Xiwen <forbidden405@outlook.com>
Mon, 22 Jan 2024 14:33:21 +0000 (22:33 +0800)
committerTom Rini <trini@konsulko.com>
Tue, 26 Mar 2024 23:58:26 +0000 (19:58 -0400)
commita91263c3217614311f418688d96e960263c8caef
treeeef7ab42fde45392bfc333df5428556856dd017e
parent3724ec4e5ca85666d648d2082915ef272500b5e7
net: hifemac: fix log reporting

shrink the first argument of log_msg_ret(), add dev_xxx() functions for
error reporting.

Fixes: 9d8f78a2a79f7 ("net: add hifemac Ethernet driver for HiSilicon platform")
Signed-off-by: Yang Xiwen <forbidden405@outlook.com>
drivers/net/hifemac.c