diff options
Diffstat (limited to 'nouveau/nouveau_bo.c')
-rw-r--r-- | nouveau/nouveau_bo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nouveau/nouveau_bo.c b/nouveau/nouveau_bo.c index 49736364..32b23b65 100644 --- a/nouveau/nouveau_bo.c +++ b/nouveau/nouveau_bo.c | |||
@@ -198,7 +198,7 @@ nouveau_bo_new_tile(struct nouveau_device *dev, uint32_t flags, int align, | |||
198 | if (flags & (NOUVEAU_BO_VRAM | NOUVEAU_BO_GART)) { | 198 | if (flags & (NOUVEAU_BO_VRAM | NOUVEAU_BO_GART)) { |
199 | ret = nouveau_bo_kalloc(nvbo, NULL); | 199 | ret = nouveau_bo_kalloc(nvbo, NULL); |
200 | if (ret) { | 200 | if (ret) { |
201 | nouveau_bo_ref(NULL, (void *)nvbo); | 201 | nouveau_bo_ref(NULL, (void *)&nvbo); |
202 | return ret; | 202 | return ret; |
203 | } | 203 | } |
204 | } | 204 | } |