mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-05 15:49:42 -04: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:
committed by
Greg Kroah-Hartman
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,
|
||||
wilc_get_vif_idx(vif));
|
||||
if (ret)
|
||||
PRINT_ER("Failed to set mac address\n");
|
||||
netdev_err(vif->ndev, "Failed to set mac address\n");
|
||||
|
||||
kfree(mac_buf);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user