batman-adv: use shorter pr_warn instead of pr_warning
authorSven Eckelmann <sven@narfation.org>
Mon, 26 Mar 2012 14:22:45 +0000 (16:22 +0200)
committerAntonio Quartulli <ordex@autistici.org>
Sun, 13 May 2012 17:06:41 +0000 (19:06 +0200)
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Antonio Quartulli <ordex@autistici.org>
net/batman-adv/hard-interface.c
net/batman-adv/send.c

index 0b84bb1b62c4c0935a68679a9584346a446c94bc..dc334fa898475a5c51257ac65006d0767dc0d65e 100644 (file)
@@ -173,9 +173,9 @@ static void check_known_mac_addr(const struct net_device *net_dev)
                                 net_dev->dev_addr))
                        continue;
 
-               pr_warning("The newly added mac address (%pM) already exists on: %s\n",
-                          net_dev->dev_addr, hard_iface->net_dev->name);
-               pr_warning("It is strongly recommended to keep mac addresses unique to avoid problems!\n");
+               pr_warn("The newly added mac address (%pM) already exists on: %s\n",
+                       net_dev->dev_addr, hard_iface->net_dev->name);
+               pr_warn("It is strongly recommended to keep mac addresses unique to avoid problems!\n");
        }
        rcu_read_unlock();
 }
index 8e74d9763be343699acf39fc8ca1d5b6e7856566..f47299f22c68f70ae76e92ac893f6df5c67f089f 100644 (file)
@@ -45,8 +45,8 @@ int send_skb_packet(struct sk_buff *skb, struct hard_iface *hard_iface,
                goto send_skb_err;
 
        if (!(hard_iface->net_dev->flags & IFF_UP)) {
-               pr_warning("Interface %s is not up - can't send packet via that interface!\n",
-                          hard_iface->net_dev->name);
+               pr_warn("Interface %s is not up - can't send packet via that interface!\n",
+                       hard_iface->net_dev->name);
                goto send_skb_err;
        }