rocker: use netdev_err after register_netdev
After successful register_netdev, we can use netdev_err rather the more generic dev_err. Signed-off-by: Scott Feldman <sfeldma@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Родитель
6c4f7780a5
Коммит
ff14702844
|
@ -4988,7 +4988,7 @@ static int rocker_probe_port(struct rocker *rocker, unsigned int port_number)
|
|||
|
||||
err = rocker_port_ig_tbl(rocker_port, SWITCHDEV_TRANS_NONE, 0);
|
||||
if (err) {
|
||||
dev_err(&pdev->dev, "install ig port table failed\n");
|
||||
netdev_err(rocker_port->dev, "install ig port table failed\n");
|
||||
goto err_port_ig_tbl;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче