mirror of
https://gitee.com/openharmony/kernel_linux
synced 2025-02-19 02:33:01 +00:00
forcedeth: "no link" is informational
Log "no link during initialization" at KERN_INFO as it's not an error, and occurs every time the interface comes up (when the forcedeth-phy-power-down patch is applied). Signed-off-by: Ed Swierk <eswierk@arastra.com> Cc: Ayaz Abdulla <aabdulla@nvidia.com> Cc: Jeff Garzik <jeff@garzik.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Jeff Garzik <jeff@garzik.org>
This commit is contained in:
parent
9ff8c68b3c
commit
f7ab697d32
@ -4917,7 +4917,7 @@ static int nv_open(struct net_device *dev)
|
|||||||
if (ret) {
|
if (ret) {
|
||||||
netif_carrier_on(dev);
|
netif_carrier_on(dev);
|
||||||
} else {
|
} else {
|
||||||
printk("%s: no link during initialization.\n", dev->name);
|
printk(KERN_INFO "%s: no link during initialization.\n", dev->name);
|
||||||
netif_carrier_off(dev);
|
netif_carrier_off(dev);
|
||||||
}
|
}
|
||||||
if (oom)
|
if (oom)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user