]> asedeno.scripts.mit.edu Git - linux.git/commit
RDMA/uverbs: Make write() handlers return 0 on success
authorJason Gunthorpe <jgg@mellanox.com>
Sun, 25 Nov 2018 18:51:14 +0000 (20:51 +0200)
committerJason Gunthorpe <jgg@mellanox.com>
Mon, 26 Nov 2018 23:48:07 +0000 (16:48 -0700)
commit7106a9769715bb4c0448927a29aa3b505855871c
tree48bfaac92a7adfedbf50c224bf054f519008c3b4
parent8313c10fa8be032fccc1e757bccc21207f533127
RDMA/uverbs: Make write() handlers return 0 on success

Currently they return the command length, while all other handlers return
0. This makes the write path closer to the write_ex and ioctl path.

Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
drivers/infiniband/core/rdma_core.c
drivers/infiniband/core/rdma_core.h
drivers/infiniband/core/uverbs_cmd.c
drivers/infiniband/core/uverbs_main.c
drivers/infiniband/core/uverbs_uapi.c
include/rdma/uverbs_ioctl.h
include/rdma/uverbs_std_types.h