diff options
author | Nicholas Bellinger <nab@linux-iscsi.org> | 2014-12-07 06:12:05 -0500 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2014-12-13 02:32:35 -0500 |
commit | ed4520ae9b896690bb6cbed2e0c87a53144de712 (patch) | |
tree | 3ae922f74a4a54b296b52c8eb6cc9333a8333ddf /drivers/infiniband | |
parent | 10633c37bf461b246491f6587f9efe09260893f9 (diff) |
iser-target: Fix wc->wr_id cast warning
CC [M] drivers/infiniband/ulp/isert/ib_isert.o
drivers/infiniband/ulp/isert/ib_isert.c: In function ‘isert_cq_comp_err’:
drivers/infiniband/ulp/isert/ib_isert.c:1979:42: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/infiniband')
-rw-r--r-- | drivers/infiniband/ulp/isert/ib_isert.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/infiniband/ulp/isert/ib_isert.c b/drivers/infiniband/ulp/isert/ib_isert.c index 2964f210d6e6..dafb3c531f96 100644 --- a/drivers/infiniband/ulp/isert/ib_isert.c +++ b/drivers/infiniband/ulp/isert/ib_isert.c | |||
@@ -1976,8 +1976,7 @@ isert_cq_comp_err(struct isert_conn *isert_conn, struct ib_wc *wc) | |||
1976 | isert_info("conn %p completing conn_wait_comp_err\n", | 1976 | isert_info("conn %p completing conn_wait_comp_err\n", |
1977 | isert_conn); | 1977 | isert_conn); |
1978 | complete(&isert_conn->conn_wait_comp_err); | 1978 | complete(&isert_conn->conn_wait_comp_err); |
1979 | } else | 1979 | } else if (is_isert_tx_desc(isert_conn, (void *)(uintptr_t)wc->wr_id)) { |
1980 | if (is_isert_tx_desc(isert_conn, (void *)wc->wr_id)) { | ||
1981 | struct ib_device *ib_dev = isert_conn->conn_cm_id->device; | 1980 | struct ib_device *ib_dev = isert_conn->conn_cm_id->device; |
1982 | struct isert_cmd *isert_cmd; | 1981 | struct isert_cmd *isert_cmd; |
1983 | struct iser_tx_desc *desc; | 1982 | struct iser_tx_desc *desc; |