This patch just corrects some white space code conventions.

Signed-off-by: Ralph Campbell <[EMAIL PROTECTED]>
Index: src/userspace/libipathverbs/src/ipathverbs.h
===================================================================
--- src/userspace/libipathverbs/src/ipathverbs.h        (old)
+++ src/userspace/libipathverbs/src/ipathverbs.h        (new)
@@ -122,7 +122,6 @@
 
 int ipath_destroy_srq(struct ibv_srq *srq);
 
-
 struct ibv_ah *ipath_create_ah(struct ibv_pd *pd, struct ibv_ah_attr *attr);
 
 int ipath_destroy_ah(struct ibv_ah *ah);
Index: src/userspace/libipathverbs/src/verbs.c
===================================================================
--- src/userspace/libipathverbs/src/verbs.c     (old)
+++ src/userspace/libipathverbs/src/verbs.c     (new)
@@ -83,11 +83,11 @@
        struct ibv_pd            *pd;
 
        pd = malloc(sizeof *pd);
-       if(!pd)
+       if (!pd)
                return NULL;
 
-       if(ibv_cmd_alloc_pd(context, pd, &cmd, sizeof cmd,
-                           &resp, sizeof resp)) {
+       if (ibv_cmd_alloc_pd(context, pd, &cmd, sizeof cmd,
+                            &resp, sizeof resp)) {
                free(pd);
                return NULL;
        }
@@ -232,7 +232,7 @@
        int ret;
 
        srq = malloc(sizeof *srq);
-       if(srq == NULL)
+       if (srq == NULL)
                return NULL;
 
        ret = ibv_cmd_create_srq(pd, srq, attr, &cmd, sizeof cmd,
@@ -278,10 +278,10 @@
        struct ibv_ah *ah;
 
        ah = malloc(sizeof *ah);
-       if(ah == NULL)
+       if (ah == NULL)
                return NULL;
 
-       if(ibv_cmd_create_ah(pd, ah, attr)) {
+       if (ibv_cmd_create_ah(pd, ah, attr)) {
                free(ah);
                return NULL;
        }



_______________________________________________
openib-general mailing list
[email protected]
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to