Without it, libdrm_nouveau user cannot know when validation failed.

Signed-off-by: Marcin Slusarz <marcin.slus...@gmail.com>
---
 nouveau/pushbuf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/nouveau/pushbuf.c b/nouveau/pushbuf.c
index ff8e125..e720a08 100644
--- a/nouveau/pushbuf.c
+++ b/nouveau/pushbuf.c
@@ -524,7 +524,7 @@ pushbuf_validate(struct nouveau_pushbuf *push, bool retry)
                }
        }
 
-       return 0;
+       return ret;
 }
 
 int
-- 
1.8.1.4

_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau

Reply via email to