All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] add missing return in nv50_accel_init failure path
@ 2011-11-06 19:32 Marcin Slusarz
       [not found] ` <1320607930-21794-6-git-send-email-marcin.slusarz-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Marcin Slusarz @ 2011-11-06 19:32 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW

---
 src/nv50_accel.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/nv50_accel.c b/src/nv50_accel.c
index d6c7528..ca06d8a 100644
--- a/src/nv50_accel.c
+++ b/src/nv50_accel.c
@@ -102,6 +102,7 @@ NVAccelInitNV50TCL(ScrnInfoPtr pScrn)
 					   &pNv->vblank_sem)) {
 			nouveau_grobj_free(&pNv->NvSW);
 			nouveau_grobj_free(&pNv->Nv3D);
+			return FALSE;
 		}
 
 		if (nouveau_bo_new(pNv->dev, NOUVEAU_BO_VRAM, 0, 65536,
-- 
1.7.7

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-11-09 21:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-06 19:32 [PATCH] add missing return in nv50_accel_init failure path Marcin Slusarz
     [not found] ` <1320607930-21794-6-git-send-email-marcin.slusarz-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2011-11-09 21:38   ` Marcin Slusarz

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.