]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: wilc1000: handle_set_mac_address: use netdev_err
authorChaehyun Lim <chaehyun.lim@gmail.com>
Tue, 16 Feb 2016 08:39:55 +0000 (17:39 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 20 Feb 2016 00:55:33 +0000 (16:55 -0800)
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>
drivers/staging/wilc1000/host_interface.c

index f946e00d36c2213f0438253b7c4ae9e433477c25..3de4f9984e5dc533ed2562edfe107b601ccbffbe 100644 (file)
@@ -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);
 }