Skip to contentSkip to conversation

add missing return in nv50_accel_init failure path

PATCH In review Marcin Slusarz 1 participant 2 messages Nov 6, 2011 – Nov 9, 2011 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 add missing return in nv50_accel_init failure path

---
 src/nv50_accel.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
src/nv50_accel.c +1 -0
index d6c7528..ca06d8a 100644
@@ -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,
Signature · 1 line
1.7.7

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

#2 lore raw
Quoted 1 line · Marcin Slusarz

(...)

I see my last kernel patches were already applied (with an exception of different fix to nv10 problem and vram-limit/debugging patch). Thanks. What about these 3 ddx patches? Any comments?

Marcin