mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-17 19:26:33 +07:00
staging: wilc1000: handle_set_mac_address: use netdev_err
This patch uses netdev_err instead of PRINT_ER that is a custom debug print. Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
47b89ad645
commit
9eab9a8f93
@ -442,7 +442,7 @@ static void handle_set_mac_address(struct wilc_vif *vif,
|
|||||||
ret = wilc_send_config_pkt(vif, SET_CFG, &wid, 1,
|
ret = wilc_send_config_pkt(vif, SET_CFG, &wid, 1,
|
||||||
wilc_get_vif_idx(vif));
|
wilc_get_vif_idx(vif));
|
||||||
if (ret)
|
if (ret)
|
||||||
PRINT_ER("Failed to set mac address\n");
|
netdev_err(vif->ndev, "Failed to set mac address\n");
|
||||||
|
|
||||||
kfree(mac_buf);
|
kfree(mac_buf);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user