From c922758685932e86d935972980df3be22d7b2fdf Mon Sep 17 00:00:00 2001 From: Ilia Mirkin Date: Sat, 23 May 2015 19:07:48 -0400 Subject: [PATCH] nv30: check nouveau_bo_map output of notify bo Signed-off-by: Ilia Mirkin --- src/gallium/drivers/nouveau/nv30/nv30_screen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/nouveau/nv30/nv30_screen.c b/src/gallium/drivers/nouveau/nv30/nv30_screen.c index 025cad28042..bb79ccc538f 100644 --- a/src/gallium/drivers/nouveau/nv30/nv30_screen.c +++ b/src/gallium/drivers/nouveau/nv30/nv30_screen.c @@ -524,7 +524,7 @@ nv30_screen_create(struct nouveau_device *dev) ret = nouveau_bo_wrap(screen->base.device, fifo->notify, &screen->notify); if (ret == 0) - nouveau_bo_map(screen->notify, 0, screen->base.client); + ret = nouveau_bo_map(screen->notify, 0, screen->base.client); if (ret) FAIL_SCREEN_INIT("error mapping notifier memory: %d\n", ret); -- 2.30.2