]> git.baikalelectronics.ru Git - kernel.git/commit
drivers/i915: Fix unnoticed failure of init_ring_common()
authorKonrad Zapalowicz <bergo.torino@gmail.com>
Thu, 19 Jun 2014 17:07:15 +0000 (19:07 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 19 Jun 2014 18:59:52 +0000 (20:59 +0200)
commit5bbafa3342e7f0d2952a6d893ceaf1d8475ab1f8
treee65e031a5389929ddbddac19326c96f8d9a06ccd
parent8c6e539269a69fe8b166b310647b2d9e5f847300
drivers/i915: Fix unnoticed failure of init_ring_common()

This commit add check for return value of init_ring_common() in the
init_render_ring(). Now, when failure is detected the error code is
propagated to the caller instead of being ignored.

Signed-off-by: Konrad Zapalowicz <bergo.torino@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_ringbuffer.c