[openib-general] [PATCH] Typo in ib_ping_init_device

Krishna Kumar2 krkumar2 at in.ibm.com
Wed Apr 5 22:28:43 PDT 2006


--- a/drivers/infiniband/core/ping.c    2006-03-28 18:01:31.000000000 
+0530
+++ b/drivers/infiniband/core/ping.c    2006-03-28 18:06:09.000000000 
+0530
@@ -259,10 +259,11 @@ static void ib_ping_init_device(struct i
        }
 
        for (i = 0; i < num_ports; i++, cur_port++) {
-               if (ib_ping_port_open(device, cur_port))
+               if (ib_ping_port_open(device, cur_port)) {
                        printk(KERN_ERR SPFX "Couldn't open %s port %d\n",
                               device->name, cur_port);
                        goto error_device_open;
+               }
        }
        return;
 

Thanks,

- KK


-------------- next part --------------
A non-text attachment was scrubbed...
Name: P.
Type: application/octet-stream
Size: 493 bytes
Desc: not available
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20060406/db09517f/attachment.obj>


More information about the general mailing list