diff options
author | Jason Gunthorpe <jgg@mellanox.com> | 2018-07-10 20:55:20 -0600 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2018-07-25 14:21:22 -0600 |
commit | 2c96eb7d62de5048aa08e9ee4fbb607f29e2638c (patch) | |
tree | 3c73802d3c6661c6828c2f9fe881e4710875cf97 /drivers/scsi/am53c974.c | |
parent | IB/uverbs: Rework the locking for cleaning up the ucontext (diff) | |
download | linux-dev-2c96eb7d62de5048aa08e9ee4fbb607f29e2638c.tar.xz linux-dev-2c96eb7d62de5048aa08e9ee4fbb607f29e2638c.zip |
IB/uverbs: Always propagate errors from rdma_alloc_commit_uobject()
The ioctl framework already does this correctly, but the write path did
not. This is trivially fixed by simply using a standard pattern to return
uobj_alloc_commit() as the last statement in every function.
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/scsi/am53c974.c')
0 files changed, 0 insertions, 0 deletions