Skip to content

Commit

Permalink
drm/nouveau: return offset of allocated notifier
Browse files Browse the repository at this point in the history
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
  • Loading branch information
Bob Gleitsmann authored and Ben Skeggs committed Jan 7, 2014
1 parent 6d60792 commit c1ccaa6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/gpu/drm/nouveau/nouveau_abi16.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit c1ccaa6

Please sign in to comment.