aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJason Gunthorpe <jgg@mellanox.com>2018-11-12 22:59:51 +0200
committerJason Gunthorpe <jgg@mellanox.com>2018-11-22 11:57:32 -0700
commitc27f6aa8c9df7f3270d5f5f2957a2a024262eb99 (patch)
tree086324fd179a7bf19bf1027a69b66dff4d48f328 /include
parentRDMA/uverbs: Use a linear list to describe the compiled-in uapi (diff)
downloadlinux-dev-c27f6aa8c9df7f3270d5f5f2957a2a024262eb99.tar.xz
linux-dev-c27f6aa8c9df7f3270d5f5f2957a2a024262eb99.zip
RDMA/uverbs: Factor out the add/get pattern into a helper
The next patch needs another copy of this, provide a simple helper to reduce the coding. uapi_add_get_elm() returns an existing entry or adds a new one. Signed-off-by: Jason Gunthorpe <jgg@mellanox.com> Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions