From: Bob Gleitsmann Date: Sun, 5 Jan 2014 22:59:07 +0000 (+1000) Subject: drm/nouveau: return offset of allocated notifier X-Git-Tag: v3.13-rc8~13^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c1ccaa646cce2538b00fdca6d7eea0c38ebfd179;p=kernel%2Fkernel-generic.git drm/nouveau: return offset of allocated notifier Signed-off-by: Ben Skeggs --- diff --git a/drivers/gpu/drm/nouveau/nouveau_abi16.c b/drivers/gpu/drm/nouveau/nouveau_abi16.c index 6828d81..900fae0 100644 --- a/drivers/gpu/drm/nouveau/nouveau_abi16.c +++ b/drivers/gpu/drm/nouveau/nouveau_abi16.c @@ -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);