diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2012-09-05 16:48:01 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2012-09-05 16:48:44 +0100 |
commit | ddde40afc081f47a3b6b694aeb21682c240c9562 (patch) | |
tree | 945c37d6863f55776840677003344fdeae808c63 /src/intel_module.c | |
parent | 4627dc36fa56ab971cd90088bd29a597dd12dc02 (diff) |
sna: Harden against initialisation failures
References: https://bugs.freedesktop.org/show_bug.cgi?id=54561
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/intel_module.c')
-rw-r--r-- | src/intel_module.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel_module.c b/src/intel_module.c index cfd92e97..d764dbbe 100644 --- a/src/intel_module.c +++ b/src/intel_module.c @@ -561,7 +561,7 @@ intel_platform_probe(DriverPtr driver, #if USE_UXA case UXA: intel_init_scrn(scrn); break; #endif - default: break; + default: return FALSE; } xf86DrvMsg(scrn->scrnIndex, X_INFO, |