RDMA/mlx5: Replace open-coded offsetofend() macro
authorLeon Romanovsky <leonro@mellanox.com>
Thu, 30 Jul 2020 08:12:34 +0000 (11:12 +0300)
committerJason Gunthorpe <jgg@nvidia.com>
Tue, 18 Aug 2020 17:47:34 +0000 (14:47 -0300)
commit70c1430fba7bc904403c4202776d7bfa697a294d
tree1e1f27544e51a12cb546370a2ed2ba59f938c739
parent156f378985819e55431c7d7a09c7764d029ef49f
RDMA/mlx5: Replace open-coded offsetofend() macro

Clean mlx5_ib from open-coded implementations of offsetofend().

Link: https://lore.kernel.org/r/20200730081235.1581127-3-leon@kernel.org
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/hw/mlx5/ah.c
drivers/infiniband/hw/mlx5/fs.c
drivers/infiniband/hw/mlx5/mr.c
drivers/infiniband/hw/mlx5/qp.c