diff options
author | Bart Van Assche <bvanassche@acm.org> | 2011-09-03 07:25:42 (GMT) |
---|---|---|
committer | Roland Dreier <roland@purestorage.com> | 2012-12-01 01:40:30 (GMT) |
commit | 948d1e889e5bd6ceffcc31db2beba39331087df3 (patch) | |
tree | 0885938ace8cd28b82425ac98c0ab64e9c943792 /drivers/infiniband/ulp/srp/ib_srp.h | |
parent | 224db157431299582a65fb9d4c9228363146f8a9 (diff) | |
download | linux-948d1e889e5bd6ceffcc31db2beba39331087df3.tar.xz |
IB/srp: Introduce srp_handle_qp_err()
Introduce the function srp_handle_qp_err(), change the type of
qp_in_error from int into bool and move the initialization of that
variable from srp_reconnect_target() to srp_connect_target().
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Acked-by: David Dillow <dillowda@ornl.gov>
Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'drivers/infiniband/ulp/srp/ib_srp.h')
-rw-r--r-- | drivers/infiniband/ulp/srp/ib_srp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/ulp/srp/ib_srp.h b/drivers/infiniband/ulp/srp/ib_srp.h index 8b436ce..02dc3ac 100644 --- a/drivers/infiniband/ulp/srp/ib_srp.h +++ b/drivers/infiniband/ulp/srp/ib_srp.h @@ -179,7 +179,7 @@ struct srp_target_port { struct list_head list; struct completion done; int status; - int qp_in_error; + bool qp_in_error; struct completion tsk_mgmt_done; u8 tsk_mgmt_status; |