[openib-general] [PATCH] ib_mad.c: Change print level when ib_post_send/recv fails

Hal Rosenstock halr at voltaire.com
Fri Sep 10 16:20:59 PDT 2004


ib_mad.c: Change print level when ib_post_send/recv fails

Index: ib_mad.c
===================================================================
--- ib_mad.c    (revision 774)
+++ ib_mad.c    (working copy)
@@ -376,7 +376,7 @@
                        list_del((struct list_head *)send_wr);
                        IB_MAD_SEND_LIST_UNLOCK(((struct
ib_mad_port_private *)mad_agent->device->mad));
                        *bad_send_wr = cur_send_wr;
-                       printk(KERN_ERR "ib_mad_post_send failed\n");
+                       printk(KERN_NOTICE "ib_mad_post_send failed\n");
                        return ret;
                }
                cur_send_wr= next_send_wr;
@@ -828,7 +828,7 @@
                                 sizeof *mad_priv - sizeof
mad_priv->header,
                                 PCI_DMA_FROMDEVICE);
                kfree(mad_priv);
-               printk(KERN_ERR "ib_post_recv failed\n");
+               printk(KERN_NOTICE "ib_post_recv failed\n");
                return -EINVAL;
        }
 





More information about the general mailing list