Browse Source

Merge branches 'cma' and 'mlx4' into for-linus

Roland Dreier 16 years ago
parent
commit
ee48c3d7d3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/infiniband/hw/mlx4/cq.c

+ 1 - 1
drivers/infiniband/hw/mlx4/cq.c

@@ -699,7 +699,7 @@ repoll:
 		}
 
 		wc->slid	   = be16_to_cpu(cqe->rlid);
-		wc->sl		   = be16_to_cpu(cqe->sl_vid >> 12);
+		wc->sl		   = be16_to_cpu(cqe->sl_vid) >> 12;
 		g_mlpath_rqpn	   = be32_to_cpu(cqe->g_mlpath_rqpn);
 		wc->src_qp	   = g_mlpath_rqpn & 0xffffff;
 		wc->dlid_path_bits = (g_mlpath_rqpn >> 24) & 0x7f;