diff mbox

drm/nouveau: nouveau/nouveau_abi16.c does not return offset of allocated notifier

Message ID 1379137223.1306.5.camel@s2895bg (mailing list archive)
State New, archived
Headers show

Commit Message

Bob Gleitsmann Sept. 14, 2013, 5:40 a.m. UTC
Hi,

The following patch fixes problems retrieving query results. I have
tested it on nv40 - 6800 Ultra.

Best Wishes,

Bob

        if (ret)
diff mbox

Patch

--- a/drivers/gpu/drm/nouveau/nouveau_abi16.c
+++ b/drivers/gpu/drm/nouveau/nouveau_abi16.c
@@ -445,6 +445,7 @@ 
nouveau_abi16_ioctl_notifierobj_alloc(ABI16_IOCTL_ARGS)
                                 sizeof(args), &object);
        if (ret)
                goto done;
+       info->offset = ntfy->node->offset;
 
 done: