]> git.openfabrics.org - ~shefty/librdmacm.git/commitdiff
refresh (create temporary patch)
authorSean Hefty <sean.hefty@intel.com>
Mon, 27 Aug 2012 23:35:59 +0000 (16:35 -0700)
committerSean Hefty <sean.hefty@intel.com>
Mon, 27 Aug 2012 23:35:59 +0000 (16:35 -0700)
meta
patches/refresh-temp [new file with mode: 0644]

diff --git a/meta b/meta
index 0633160c381cac69e24b684ac12edd81ca0dae06..12e9145fd703ebf94e114ccc5c6c414a4bd63a98 100644 (file)
--- a/meta
+++ b/meta
@@ -1,9 +1,10 @@
 Version: 1
-Previous: f9444f47dedfc3146bb01a87de237ed8e80bdd89
-Head: 09e0056823d9d6a1ee672e67241ff1f57b71d853
+Previous: 446f31873969bf71d2911e75d01ab7166ae199bc
+Head: 3192f20792357b172d3fcb5d9c8c0ff7e2297abb
 Applied:
   stder: 991c701f81cab5a1860ac7774f654edfef956068
   pfx: 09e0056823d9d6a1ee672e67241ff1f57b71d853
+  refresh-temp: 3192f20792357b172d3fcb5d9c8c0ff7e2297abb
 Unapplied:
   sa_family: 85be179d2f63865dbf1f5adc1dc76c093c6b811e
   af_ib: d6ca81dc1b7923005309b04c3bb684da0361cbc9
diff --git a/patches/refresh-temp b/patches/refresh-temp
new file mode 100644 (file)
index 0000000..bcdc414
--- /dev/null
@@ -0,0 +1,75 @@
+Bottom: 57d7314fff3682c73b462fc63ad5d1b91784f59a
+Top:    8ecca87db88331d6078a80c3fd9825bc2059cd28
+Author: Sean Hefty <sean.hefty@intel.com>
+Date:   2012-08-27 16:35:59 -0700
+
+Refresh of pfx
+
+---
+
+diff --git a/src/cma.c b/src/cma.c
+index ddd81d1..7002513 100755
+--- a/src/cma.c
++++ b/src/cma.c
+@@ -158,15 +158,15 @@ static int check_abi_version(void)
+                * backports, assume the most recent version of the ABI.  If
+                * we're wrong, we'll simply fail later when calling the ABI.
+                */
+-              fprintf(stderr, "librdmacm: couldn't read ABI version.\n");
+-              fprintf(stderr, "librdmacm: assuming: %d\n", abi_ver);
++              fprintf(stderr, PFX "couldn't read ABI version.\n");
++              fprintf(stderr, PFX "assuming: %d\n", abi_ver);
+               return 0;
+       }
+       abi_ver = strtol(value, NULL, 10);
+       if (abi_ver < RDMA_USER_CM_MIN_ABI_VERSION ||
+           abi_ver > RDMA_USER_CM_MAX_ABI_VERSION) {
+-              fprintf(stderr, "librdmacm: kernel ABI version %d "
++              fprintf(stderr, PFX "kernel ABI version %d "
+                               "doesn't match library version %d.\n",
+                               abi_ver, RDMA_USER_CM_MAX_ABI_VERSION);
+               return -1;
+@@ -226,13 +226,13 @@ int ucma_init(void)
+       dev_list = ibv_get_device_list(&dev_cnt);
+       if (!dev_list) {
+-              fprintf(stderr, "CMA: unable to get RDMA device list\n");
++              fprintf(stderr, PFX "unable to get RDMA device list\n");
+               ret = ERR(ENODEV);
+               goto err1;
+       }
+       if (!dev_cnt) {
+-              fprintf(stderr, "CMA: no RDMA devices found\n");
++              fprintf(stderr, PFX "no RDMA devices found\n");
+               ret = ERR(ENODEV);
+               goto err2;
+       }
+@@ -249,7 +249,7 @@ int ucma_init(void)
+               cma_dev->guid = ibv_get_device_guid(dev_list[i]);
+               cma_dev->verbs = ibv_open_device(dev_list[i]);
+               if (!cma_dev->verbs) {
+-                      fprintf(stderr, "CMA: unable to open RDMA device\n");
++                      fprintf(stderr, PFX "unable to open RDMA device\n");
+                       ret = ERR(ENODEV);
+                       goto err3;
+               }
+@@ -257,7 +257,7 @@ int ucma_init(void)
+               i++;
+               ret = ibv_query_device(cma_dev->verbs, &attr);
+               if (ret) {
+-                      fprintf(stderr, "CMA: unable to query RDMA device\n");
++                      fprintf(stderr, PFX "unable to query RDMA device\n");
+                       ret = ERR(ret);
+                       goto err3;
+               }
+@@ -329,7 +329,7 @@ struct rdma_event_channel *rdma_create_event_channel(void)
+       channel->fd = open("/dev/infiniband/rdma_cm", O_RDWR);
+       if (channel->fd < 0) {
+-              fprintf(stderr, "CMA: unable to open /dev/infiniband/rdma_cm\n");
++              fprintf(stderr, PFX "unable to open /dev/infiniband/rdma_cm\n");
+               goto err;
+       }
+       return channel;