***SPAM*** Re: ***SPAM*** [ofa-general][PATCH v2] compiling OFED-1.2 with RHEL5.1
Devesh Sharma
devesh28 at gmail.com
Tue Feb 3 06:11:34 PST 2009
Hello list here is the second patch inline
diff -ruN a/drivers/infiniband/core/mad.c b/drivers/infiniband/core/mad.c
--- a/drivers/infiniband/core/mad.c 2009-02-03 02:37:18.000000000 +0530
+++ b/drivers/infiniband/core/mad.c 2009-02-03 02:37:08.000000000 +0530
@@ -2955,7 +2955,6 @@
sizeof(struct ib_mad_private),
0,
SLAB_HWCACHE_ALIGN,
- NULL,
NULL);
if (!ib_mad_cache) {
printk(KERN_ERR PFX "Couldn't create ib_mad cache\n");
diff -ruN a/drivers/infiniband/hw/amso1100/c2_vq.c
b/drivers/infiniband/hw/amso1100/c2_vq.c
--- a/drivers/infiniband/hw/amso1100/c2_vq.c 2009-02-03 02:31:19.000000000 +0530
+++ b/drivers/infiniband/hw/amso1100/c2_vq.c 2009-02-03 02:51:30.000000000 +0530
@@ -85,7 +85,7 @@
(char) ('0' + c2dev->devnum));
c2dev->host_msg_cache =
kmem_cache_create(c2dev->vq_cache_name, c2dev->rep_vq.msg_size, 0,
- SLAB_HWCACHE_ALIGN, NULL, NULL);
+ SLAB_HWCACHE_ALIGN, NULL);
if (c2dev->host_msg_cache == NULL) {
return -ENOMEM;
}
diff -ruN a/drivers/infiniband/hw/ehca/ehca_av.c
b/drivers/infiniband/hw/ehca/ehca_av.c
--- a/drivers/infiniband/hw/ehca/ehca_av.c 2009-02-03 02:31:19.000000000 +0530
+++ b/drivers/infiniband/hw/ehca/ehca_av.c 2009-02-03 02:49:53.000000000 +0530
@@ -257,7 +257,7 @@
av_cache = kmem_cache_create("ehca_cache_av",
sizeof(struct ehca_av), 0,
SLAB_HWCACHE_ALIGN,
- NULL, NULL);
+ NULL);
if (!av_cache)
return -ENOMEM;
return 0;
diff -ruN a/drivers/infiniband/hw/ehca/ehca_cq.c
b/drivers/infiniband/hw/ehca/ehca_cq.c
--- a/drivers/infiniband/hw/ehca/ehca_cq.c 2009-02-03 02:37:18.000000000 +0530
+++ b/drivers/infiniband/hw/ehca/ehca_cq.c 2009-02-03 02:49:08.000000000 +0530
@@ -396,7 +396,7 @@
cq_cache = kmem_cache_create("ehca_cache_cq",
sizeof(struct ehca_cq), 0,
SLAB_HWCACHE_ALIGN,
- NULL, NULL);
+ NULL);
if (!cq_cache)
return -ENOMEM;
return 0;
diff -ruN a/drivers/infiniband/hw/ehca/ehca_main.c
b/drivers/infiniband/hw/ehca/ehca_main.c
--- a/drivers/infiniband/hw/ehca/ehca_main.c 2009-02-03 02:37:18.000000000 +0530
+++ b/drivers/infiniband/hw/ehca/ehca_main.c 2009-02-03 02:49:30.000000000 +0530
@@ -165,7 +165,7 @@
ctblk_cache = kmem_cache_create("ehca_cache_ctblk",
EHCA_PAGESIZE, H_CB_ALIGNMENT,
SLAB_HWCACHE_ALIGN,
- NULL, NULL);
+ NULL);
if (!ctblk_cache) {
ehca_gen_err("Cannot create ctblk SLAB cache.");
ehca_cleanup_mrmw_cache();
diff -ruN a/drivers/infiniband/hw/ehca/ehca_mrmw.c
b/drivers/infiniband/hw/ehca/ehca_mrmw.c
--- a/drivers/infiniband/hw/ehca/ehca_mrmw.c 2009-02-03 02:37:18.000000000 +0530
+++ b/drivers/infiniband/hw/ehca/ehca_mrmw.c 2009-02-03 02:51:00.000000000 +0530
@@ -2234,13 +2234,13 @@
mr_cache = kmem_cache_create("ehca_cache_mr",
sizeof(struct ehca_mr), 0,
SLAB_HWCACHE_ALIGN,
- NULL, NULL);
+ NULL);
if (!mr_cache)
return -ENOMEM;
mw_cache = kmem_cache_create("ehca_cache_mw",
sizeof(struct ehca_mw), 0,
SLAB_HWCACHE_ALIGN,
- NULL, NULL);
+ NULL);
if (!mw_cache) {
kmem_cache_destroy(mr_cache);
mr_cache = NULL;
diff -ruN a/drivers/infiniband/hw/ehca/ehca_pd.c
b/drivers/infiniband/hw/ehca/ehca_pd.c
--- a/drivers/infiniband/hw/ehca/ehca_pd.c 2009-02-03 02:31:19.000000000 +0530
+++ b/drivers/infiniband/hw/ehca/ehca_pd.c 2009-02-03 02:50:11.000000000 +0530
@@ -101,7 +101,7 @@
pd_cache = kmem_cache_create("ehca_cache_pd",
sizeof(struct ehca_pd), 0,
SLAB_HWCACHE_ALIGN,
- NULL, NULL);
+ NULL);
if (!pd_cache)
return -ENOMEM;
return 0;
diff -ruN a/drivers/infiniband/hw/ehca/ehca_qp.c
b/drivers/infiniband/hw/ehca/ehca_qp.c
--- a/drivers/infiniband/hw/ehca/ehca_qp.c 2009-02-03 02:37:18.000000000 +0530
+++ b/drivers/infiniband/hw/ehca/ehca_qp.c 2009-02-03 02:50:29.000000000 +0530
@@ -1440,7 +1440,7 @@
qp_cache = kmem_cache_create("ehca_cache_qp",
sizeof(struct ehca_qp), 0,
SLAB_HWCACHE_ALIGN,
- NULL, NULL);
+ NULL);
if (!qp_cache)
return -ENOMEM;
return 0;
diff -ruN a/drivers/infiniband/ulp/iser/iscsi_iser.c
b/drivers/infiniband/ulp/iser/iscsi_iser.c
--- a/drivers/infiniband/ulp/iser/iscsi_iser.c 2009-02-03
02:31:19.000000000 +0530
+++ b/drivers/infiniband/ulp/iser/iscsi_iser.c 2009-02-03
02:51:56.000000000 +0530
@@ -625,7 +625,7 @@
ig.desc_cache = kmem_cache_create("iser_descriptors",
sizeof (struct iser_desc),
0, SLAB_HWCACHE_ALIGN,
- NULL, NULL);
+ NULL);
if (ig.desc_cache == NULL)
return -ENOMEM;
diff -ruN a/net/rds/connection.c b/net/rds/connection.c
--- a/net/rds/connection.c 2009-02-03 02:31:19.000000000 +0530
+++ b/net/rds/connection.c 2009-02-03 07:00:14.000000000 +0530
@@ -332,7 +332,7 @@
{
rds_conn_slab = kmem_cache_create("rds_connection",
sizeof(struct rds_connection),
- 0, 0, NULL, NULL);
+ 0, 0, NULL);
if (rds_conn_slab == NULL)
return -ENOMEM;
diff -ruN a/net/rds/ib_recv.c b/net/rds/ib_recv.c
--- a/net/rds/ib_recv.c 2009-02-03 02:37:18.000000000 +0530
+++ b/net/rds/ib_recv.c 2009-02-03 07:00:50.000000000 +0530
@@ -752,13 +752,13 @@
rds_ib_incoming_slab = kmem_cache_create("rds_ib_incoming",
sizeof(struct rds_ib_incoming),
- 0, 0, NULL, NULL);
+ 0, 0, NULL);
if (rds_ib_incoming_slab == NULL)
goto out;
rds_ib_frag_slab = kmem_cache_create("rds_ib_frag",
sizeof(struct rds_page_frag),
- 0, 0, NULL, NULL);
+ 0, 0, NULL);
if (rds_ib_frag_slab == NULL)
kmem_cache_destroy(rds_ib_incoming_slab);
else
diff -ruN a/net/rds/tcp.c b/net/rds/tcp.c
--- a/net/rds/tcp.c 2009-02-03 02:31:19.000000000 +0530
+++ b/net/rds/tcp.c 2009-02-03 07:01:35.000000000 +0530
@@ -254,7 +254,7 @@
rds_tcp_conn_slab = kmem_cache_create("rds_tcp_connection",
sizeof(struct rds_tcp_connection),
- 0, 0, NULL, NULL);
+ 0, 0, NULL);
if (rds_tcp_conn_slab == NULL) {
ret = -ENOMEM;
goto out;
diff -ruN a/net/rds/tcp_recv.c b/net/rds/tcp_recv.c
--- a/net/rds/tcp_recv.c 2009-02-03 02:31:19.000000000 +0530
+++ b/net/rds/tcp_recv.c 2009-02-03 07:01:59.000000000 +0530
@@ -344,7 +344,7 @@
{
rds_tcp_incoming_slab = kmem_cache_create("rds_tcp_incoming",
sizeof(struct rds_tcp_incoming),
- 0, 0, NULL, NULL);
+ 0, 0, NULL);
if (rds_tcp_incoming_slab == NULL)
return -ENOMEM;
return 0;
regards
Devesh Sharma
More information about the general
mailing list