]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/net/cxgb3/cxgb3_offload.c
drivers/net: replace __FUNCTION__ with __func__
[karo-tx-linux.git] / drivers / net / cxgb3 / cxgb3_offload.c
index c5b3de1bb45625a688ee7d020e723545284f0947..0f6fd63b28475cdf5bc0be26ebb5cf07cd88035d 100644 (file)
@@ -1018,7 +1018,7 @@ static void set_l2t_ix(struct t3cdev *tdev, u32 tid, struct l2t_entry *e)
 
        skb = alloc_skb(sizeof(*req), GFP_ATOMIC);
        if (!skb) {
-               printk(KERN_ERR "%s: cannot allocate skb!\n", __FUNCTION__);
+               printk(KERN_ERR "%s: cannot allocate skb!\n", __func__);
                return;
        }
        skb->priority = CPL_PRIORITY_CONTROL;
@@ -1049,14 +1049,14 @@ void cxgb_redirect(struct dst_entry *old, struct dst_entry *new)
                return;
        if (!is_offloading(newdev)) {
                printk(KERN_WARNING "%s: Redirect to non-offload "
-                      "device ignored.\n", __FUNCTION__);
+                      "device ignored.\n", __func__);
                return;
        }
        tdev = dev2t3cdev(olddev);
        BUG_ON(!tdev);
        if (tdev != dev2t3cdev(newdev)) {
                printk(KERN_WARNING "%s: Redirect to different "
-                      "offload device ignored.\n", __FUNCTION__);
+                      "offload device ignored.\n", __func__);
                return;
        }
 
@@ -1064,7 +1064,7 @@ void cxgb_redirect(struct dst_entry *old, struct dst_entry *new)
        e = t3_l2t_get(tdev, new->neighbour, newdev);
        if (!e) {
                printk(KERN_ERR "%s: couldn't allocate new l2t entry!\n",
-                      __FUNCTION__);
+                      __func__);
                return;
        }