drm/nouveau: return offset of allocated notifier

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
This commit is contained in:
Bob Gleitsmann 2014-01-06 08:59:07 +10:00 committed by Ben Skeggs
parent 6d60792ec0
commit c1ccaa646c
1 changed files with 2 additions and 0 deletions

View File

@ -447,6 +447,8 @@ nouveau_abi16_ioctl_notifierobj_alloc(ABI16_IOCTL_ARGS)
if (ret)
goto done;
info->offset = ntfy->node->offset;
done:
if (ret)
nouveau_abi16_ntfy_fini(chan, ntfy);