Skip to contentSkip to conversation

nouveau: return error from pushbuf_validate

PATCH In review Marcin Slusarz 1 participant 2 messages Mar 5, 2013 – Mar 19, 2013 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 nouveau: return error from pushbuf_validate

Without it, libdrm_nouveau user cannot know when validation failed.

---
 nouveau/pushbuf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
nouveau/pushbuf.c +1 -1
index ff8e125..e720a08 100644
@@ -524,7 +524,7 @@ pushbuf_validate(struct nouveau_pushbuf *push, bool retry)
 		}
 	}
 
-	return 0;
+	return ret;
 }
 
 int
Signature · 1 line
1.8.1.4

A message that is not in the archive (sent off-list or not yet received): 1362514494-3918-1-git-send-email-marcin.slusarz-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org