aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/core/uverbs_cmd.c
diff options
context:
space:
mode:
authorJason Gunthorpe <jgg@mellanox.com>2018-11-25 20:51:12 +0200
committerJason Gunthorpe <jgg@mellanox.com>2018-11-26 16:48:07 -0700
commit1b09577bef3ac135ed02115943c9ab53f2129555 (patch)
treecbb802232a8378f3c22c54f45b169afaa1a54c74 /drivers/infiniband/core/uverbs_cmd.c
parentIB/qib: fix spelling mistake "colescing" -> "coalescing" (diff)
downloadlinux-dev-1b09577bef3ac135ed02115943c9ab53f2129555.tar.xz
linux-dev-1b09577bef3ac135ed02115943c9ab53f2129555.zip
RDMA/uverbs: Add missing driver_data
If the struct is used with a driver_udata it should have a trailing driver_data flex array to mark it as having udata. In most cases this forces the end of the struct to be aligned to u64 which is needed to make the trailing driver_data naturally aligned. Unfortunately We have a few cases where the base struct is not aligned to 8 bytes, these are marked with a u32 driver_data and userspace will check for alignment issues when it compiles the driver. Also remove the empty ib_uverbs_modify_qp_resp as nothing uses this. pahole says there is no change to any struct sizes by this change. Signed-off-by: Jason Gunthorpe <jgg@mellanox.com> Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Diffstat (limited to 'drivers/infiniband/core/uverbs_cmd.c')
0 files changed, 0 insertions, 0 deletions