diff options
author | Parav Pandit <parav@mellanox.com> | 2019-10-02 15:25:17 +0300 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2019-10-04 15:38:16 -0300 |
commit | 909624d8db5bbd369690749eb4c4392766f39f94 (patch) | |
tree | 8c1dcdf4b083bc3dd9c351e6940575872b718c25 /drivers/infiniband/ulp | |
parent | 6f26b2ac699cc53f7da9598be6151818461af2a1 (diff) |
IB/cm: Use container_of() instead of typecast
Use container_of() macro to get to timewait info structure instead of
typecasting.
Link: https://lore.kernel.org/r/20191002122517.17721-5-leon@kernel.org
Signed-off-by: Parav Pandit <parav@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Reviewed-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/infiniband/ulp')
0 files changed, 0 insertions, 0 deletions