RDMA/core: Use offsetofend() instead of open coding
authorJason Gunthorpe <jgg@mellanox.com>
Wed, 27 May 2020 17:18:45 +0000 (14:18 -0300)
committerJason Gunthorpe <jgg@mellanox.com>
Fri, 29 May 2020 18:27:04 +0000 (15:27 -0300)
commitffd7339a2fac98b9ff731e336c4411bf1ce57e22
tree2f819428029a2e28df9ed2c34590a32c824352ec
parent48062b0a8ba0e0d7da2a96fe53028b7474e2dd26
RDMA/core: Use offsetofend() instead of open coding

No reason to open code this.

Link: https://lore.kernel.org/r/0-v1-0bc346e08476+585-drop_offsetofend_jgg@mellanox.com
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
include/rdma/uverbs_ioctl.h