aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@woody.linux-foundation.org>2008-01-08 15:29:52 -0500
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2008-01-08 15:29:52 -0500
commit165e4694dade7224f23785f9c3a89f3e9c3a9c14 (patch)
tree42162f0d45164e73c52a2db52b9157e2b7c0e454
parentd238998fbfa49f30b02f0a5de5294ca53c58348c (diff)
parentad696989b4a2fce8494964814376aef41da3ff55 (diff)
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband: IB/srp: Release transport before removing host IB/mlx4: Fix value of pkey_index in QP1 completions MAINTAINERS: Update Sean Hefty's email address
-rw-r--r--MAINTAINERS2
-rw-r--r--drivers/infiniband/hw/mlx4/cq.c2
-rw-r--r--drivers/infiniband/ulp/srp/ib_srp.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/MAINTAINERS b/MAINTAINERS
index 79c711e6074b..56e6159a1b5d 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -1919,7 +1919,7 @@ INFINIBAND SUBSYSTEM
1919P: Roland Dreier 1919P: Roland Dreier
1920M: rolandd@cisco.com 1920M: rolandd@cisco.com
1921P: Sean Hefty 1921P: Sean Hefty
1922M: mshefty@ichips.intel.com 1922M: sean.hefty@intel.com
1923P: Hal Rosenstock 1923P: Hal Rosenstock
1924M: hal.rosenstock@gmail.com 1924M: hal.rosenstock@gmail.com
1925L: general@lists.openfabrics.org 1925L: general@lists.openfabrics.org
diff --git a/drivers/infiniband/hw/mlx4/cq.c b/drivers/infiniband/hw/mlx4/cq.c
index 8bf44daf45ec..9d32c49cc651 100644
--- a/drivers/infiniband/hw/mlx4/cq.c
+++ b/drivers/infiniband/hw/mlx4/cq.c
@@ -430,7 +430,7 @@ static int mlx4_ib_poll_one(struct mlx4_ib_cq *cq,
430 wc->dlid_path_bits = (be32_to_cpu(cqe->g_mlpath_rqpn) >> 24) & 0x7f; 430 wc->dlid_path_bits = (be32_to_cpu(cqe->g_mlpath_rqpn) >> 24) & 0x7f;
431 wc->wc_flags |= be32_to_cpu(cqe->g_mlpath_rqpn) & 0x80000000 ? 431 wc->wc_flags |= be32_to_cpu(cqe->g_mlpath_rqpn) & 0x80000000 ?
432 IB_WC_GRH : 0; 432 IB_WC_GRH : 0;
433 wc->pkey_index = be32_to_cpu(cqe->immed_rss_invalid) >> 16; 433 wc->pkey_index = be32_to_cpu(cqe->immed_rss_invalid) & 0x7f;
434 } 434 }
435 435
436 return 0; 436 return 0;
diff --git a/drivers/infiniband/ulp/srp/ib_srp.c b/drivers/infiniband/ulp/srp/ib_srp.c
index 77e8b90dfbff..bdb6f8517401 100644
--- a/drivers/infiniband/ulp/srp/ib_srp.c
+++ b/drivers/infiniband/ulp/srp/ib_srp.c
@@ -2053,8 +2053,8 @@ static void srp_remove_one(struct ib_device *device)
2053 2053
2054 list_for_each_entry_safe(target, tmp_target, 2054 list_for_each_entry_safe(target, tmp_target,
2055 &host->target_list, list) { 2055 &host->target_list, list) {
2056 scsi_remove_host(target->scsi_host);
2057 srp_remove_host(target->scsi_host); 2056 srp_remove_host(target->scsi_host);
2057 scsi_remove_host(target->scsi_host);
2058 srp_disconnect_target(target); 2058 srp_disconnect_target(target);
2059 ib_destroy_cm_id(target->cm_id); 2059 ib_destroy_cm_id(target->cm_id);
2060 srp_free_target_ib(target); 2060 srp_free_target_ib(target);