diff options
author | Sagi Grimberg <sagig@mellanox.com> | 2015-11-04 11:50:32 +0300 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2015-12-12 01:10:51 +0300 |
commit | 7edc5a999d6bec1b5ef4d363b78578c0a723ef69 (patch) | |
tree | 8468e2461c3057c2f53f1c99d16017699d7003a8 /drivers/infiniband/ulp/iser/iser_initiator.c | |
parent | 0f512b34c637db18cd0cf27a467acd173401209d (diff) | |
download | linux-7edc5a999d6bec1b5ef4d363b78578c0a723ef69.tar.xz |
IB/iser: Use helper for container_of
Nicer this way.
Signed-off-by: Sagi Grimberg <sagig@mellanox.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/infiniband/ulp/iser/iser_initiator.c')
-rw-r--r-- | drivers/infiniband/ulp/iser/iser_initiator.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/infiniband/ulp/iser/iser_initiator.c b/drivers/infiniband/ulp/iser/iser_initiator.c index 21f28c8dd844..21148b62d797 100644 --- a/drivers/infiniband/ulp/iser/iser_initiator.c +++ b/drivers/infiniband/ulp/iser/iser_initiator.c @@ -559,8 +559,7 @@ void iser_rcv_completion(struct iser_rx_desc *rx_desc, unsigned long rx_xfer_len, struct ib_conn *ib_conn) { - struct iser_conn *iser_conn = container_of(ib_conn, struct iser_conn, - ib_conn); + struct iser_conn *iser_conn = to_iser_conn(ib_conn); struct iscsi_hdr *hdr; char *data; u64 rx_dma; |