Jason Gunthorpe c27f6aa8c9 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>
2018-11-22 11:57:32 -07:00
..
2015-06-12 14:49:18 -04:00
2018-06-12 16:19:22 -07:00
2016-05-13 13:37:18 -04:00
2016-03-03 10:20:25 -05:00
2018-10-16 11:32:40 -04:00
2018-10-16 12:47:40 -04:00
2016-03-03 10:20:25 -05:00
2018-10-26 07:38:19 -07:00