mirror of https://gitee.com/openkylin/linux.git
drm/nouveau: return offset of allocated notifier
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
This commit is contained in:
parent
6d60792ec0
commit
c1ccaa646c
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue