diff options
| author | Jason Gunthorpe <jgg@mellanox.com> | 2018-07-04 08:50:27 +0300 |
|---|---|---|
| committer | Jason Gunthorpe <jgg@mellanox.com> | 2018-07-04 13:47:01 -0600 |
| commit | 6c61d2a55c4e5980e231fac9bb54e6ff1a5e811b (patch) | |
| tree | 09b2b9bfb5ac867602397711de458b0f44883873 /drivers/infiniband/hw/mlx5/main.c | |
| parent | 595c7736d48037d67e7926f5d3ebf484b95b1d13 (diff) | |
| download | linux-6c61d2a55c4e5980e231fac9bb54e6ff1a5e811b.tar.gz linux-6c61d2a55c4e5980e231fac9bb54e6ff1a5e811b.tar.bz2 linux-6c61d2a55c4e5980e231fac9bb54e6ff1a5e811b.zip | |
RDMA/uverbs: Simplify UVERBS_OBJECT and _TREE family of macros
Instead of the large set of indirecting macros, define the few needed
macros to directly instantiate the struct uverbs_oject_tree_def and
associated objects list.
This is small amount of code duplication but the readability is far
better.
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Diffstat (limited to 'drivers/infiniband/hw/mlx5/main.c')
0 files changed, 0 insertions, 0 deletions
