]> asedeno.scripts.mit.edu Git - linux.git/commit
RDMA/uverbs: Get rid of the & in method specifications
authorJason Gunthorpe <jgg@mellanox.com>
Wed, 4 Jul 2018 05:50:28 +0000 (08:50 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Wed, 4 Jul 2018 19:47:01 +0000 (13:47 -0600)
commit9a119cd597769e0dd432110361ed1deec729ac06
tree6530b4315d47433a702bdf68ce26d3f82f868ef0
parent6c61d2a55c4e5980e231fac9bb54e6ff1a5e811b
RDMA/uverbs: Get rid of the & in method specifications

Hide it inside the macros. The & is confusing and interferes with using
this as a generic DSL in later patches.

Since this also touches almost every line, also run the specs through
clang-format (with 'BinPackParameters: false') to make the maintenance
easier.

Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
drivers/infiniband/core/uverbs_std_types.c
drivers/infiniband/core/uverbs_std_types_counters.c
drivers/infiniband/core/uverbs_std_types_cq.c
drivers/infiniband/core/uverbs_std_types_dm.c
drivers/infiniband/core/uverbs_std_types_flow_action.c
drivers/infiniband/core/uverbs_std_types_mr.c
drivers/infiniband/hw/mlx5/devx.c
drivers/infiniband/hw/mlx5/main.c
include/rdma/uverbs_ioctl.h
include/rdma/uverbs_named_ioctl.h