[openib-general] [PATCH] at: Change normal message from WARN to DEBUG

Hal Rosenstock halr at voltaire.com
Thu May 19 16:09:37 PDT 2005


at: Change normal message from WARN to DEBUG

Signed-off-by: Hal Rosenstock <halr at voltaire.com>

Index: at.c
===================================================================
--- at.c        (revision 2379)
+++ at.c        (working copy)
@@ -737,13 +737,13 @@
 
        arp = (struct ib_arp *)skb->nh.raw;
 
-       WARN("Process IB ARP ip <%d.%d.%d.%d> gid <0x%016llx%016llx>",
-            (arp->src_ip & 0x000000ff),
-            (arp->src_ip & 0x0000ff00) >> 8,
-            (arp->src_ip & 0x00ff0000) >> 16,
-            (arp->src_ip & 0xff000000) >> 24,
-            be64_to_cpu(arp->src_gid.global.subnet_prefix),
-            be64_to_cpu(arp->src_gid.global.interface_id));
+       DEBUG("Process IB ARP ip <%d.%d.%d.%d> gid <0x%016llx%016llx>",
+             (arp->src_ip & 0x000000ff),
+             (arp->src_ip & 0x0000ff00) >> 8,
+             (arp->src_ip & 0x00ff0000) >> 16,
+             (arp->src_ip & 0xff000000) >> 24,
+             be64_to_cpu(arp->src_gid.global.subnet_prefix),
+             be64_to_cpu(arp->src_gid.global.interface_id));
 
        spin_lock_irqsave(&q->lock, flags);
        for (a = q->next; a != q; a = a->next) {





More information about the general mailing list