]> git.baikalelectronics.ru Git - kernel.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)
commitdfd8a9d6cb7d318a99c7d80b057a5e26ff29f8a6
tree48bfaac92a7adfedbf50c224bf054f519008c3b4
parent5a8bbe72673ab267c3a9650d4fdcdeb88738d073
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