* [PATCH] drm/i915: Return the error code from init_hws()
@ 2010-05-26 20:56 Chris Wilson
0 siblings, 0 replies; only message in thread
From: Chris Wilson @ 2010-05-26 20:56 UTC (permalink / raw)
To: intel-gfx
Otherwise we indicate success in the event of failure and this will lead
to an eventual OOPS.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
---
drivers/gpu/drm/i915/i915_gem.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/gpu/drm/i915/i915_gem.c b/drivers/gpu/drm/i915/i915_gem.c
index aacd798..e0e29ae 100644
--- a/drivers/gpu/drm/i915/i915_gem.c
+++ b/drivers/gpu/drm/i915/i915_gem.c
@@ -4640,7 +4640,7 @@ err_unpin:
err_unref:
drm_gem_object_unreference(obj);
err:
- return 0;
+ return ret;
}
static void
--
1.7.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2010-05-26 20:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-05-26 20:56 [PATCH] drm/i915: Return the error code from init_hws() Chris Wilson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).