Merge branch 'fix/hda' into for-linus
[pandora-kernel.git] / drivers / infiniband / core / uverbs_cmd.c
index 56feab6..112d397 100644 (file)
@@ -285,7 +285,7 @@ ssize_t ib_uverbs_get_context(struct ib_uverbs_file *file,
 
        ucontext = ibdev->alloc_ucontext(ibdev, &udata);
        if (IS_ERR(ucontext)) {
-               ret = PTR_ERR(file->ucontext);
+               ret = PTR_ERR(ucontext);
                goto err;
        }