diff options
author | Jason Gunthorpe | 2018-07-04 07:50:26 +0200 |
---|---|---|
committer | Jason Gunthorpe | 2018-07-04 21:47:01 +0200 |
commit | 595c7736d48037d67e7926f5d3ebf484b95b1d13 (patch) | |
tree | 24961a06b5f83db6b638415fa575e5cd5d4115be /fs/orangefs/orangefs-kernel.h | |
parent | RDMA/uverbs: Simplify UVERBS_ATTR family of macros (diff) | |
download | kernel-qcow2-linux-595c7736d48037d67e7926f5d3ebf484b95b1d13.tar.gz kernel-qcow2-linux-595c7736d48037d67e7926f5d3ebf484b95b1d13.tar.xz kernel-qcow2-linux-595c7736d48037d67e7926f5d3ebf484b95b1d13.zip |
RDMA/uverbs: Simplify method definition macros
Instead of the large set of indirecting macros, define the few needed
macros to directly instantiate the struct uverbs_method_def and associated
attributes 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 'fs/orangefs/orangefs-kernel.h')
0 files changed, 0 insertions, 0 deletions