diff options
| -rw-r--r-- | drivers/infiniband/core/uverbs_cmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/core/uverbs_cmd.c b/drivers/infiniband/core/uverbs_cmd.c index 56feab6c251e..112d3970222a 100644 --- a/drivers/infiniband/core/uverbs_cmd.c +++ b/drivers/infiniband/core/uverbs_cmd.c | |||
| @@ -285,7 +285,7 @@ ssize_t ib_uverbs_get_context(struct ib_uverbs_file *file, | |||
| 285 | 285 | ||
| 286 | ucontext = ibdev->alloc_ucontext(ibdev, &udata); | 286 | ucontext = ibdev->alloc_ucontext(ibdev, &udata); |
| 287 | if (IS_ERR(ucontext)) { | 287 | if (IS_ERR(ucontext)) { |
| 288 | ret = PTR_ERR(file->ucontext); | 288 | ret = PTR_ERR(ucontext); |
| 289 | goto err; | 289 | goto err; |
| 290 | } | 290 | } |
| 291 | 291 | ||
