xf86-video-intel: src/intel_driver.c
Dave Airlie
airlied at kemper.freedesktop.org
Mon Sep 3 14:20:04 PDT 2012
src/intel_driver.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 18d26076c778c20eb589b638fc47fa847793f149
Author: Dave Airlie <airlied at gmail.com>
Date: Tue Sep 4 07:19:12 2012 +1000
intel: fix return value for no pEnt
Probably never gets hit but shuold return FALSE,
pointed out on irc by Lekensteyn
Signed-off-by: Dave Airlie <airlied at redhat.com>
diff --git a/src/intel_driver.c b/src/intel_driver.c
index 348d5df..218b583 100644
--- a/src/intel_driver.c
+++ b/src/intel_driver.c
@@ -477,7 +477,7 @@ static Bool I830PreInit(ScrnInfoPtr scrn, int flags)
pEnt = xf86GetEntityInfo(scrn->entityList[0]);
if (pEnt == NULL)
- return NULL;
+ return FALSE;
if (pEnt->location.type != BUS_PCI
#ifdef XSERVER_PLATFORM_BUS
More information about the xorg-commit
mailing list