drm/i915: do not read uninitialized ->dev_private
authorLuca Tettamanti <kronos.it@gmail.com>
Thu, 8 Apr 2010 19:41:59 +0000 (21:41 +0200)
committerEric Anholt <eric@anholt.net>
Mon, 12 Apr 2010 16:24:00 +0000 (09:24 -0700)
commitea059a1ec4496a10f94ca9d0c1b530faf1b85dce
tree6b0d1b561d31809baa23f277ffefd17caf5e8294
parenta1f4b7ff23d9698b6556c5030c781caecad8c1e2
drm/i915: do not read uninitialized ->dev_private

->dev_private at that point is NULL and is initialied only a few lines
later.

Signed-off-by: Luca Tettamanti <kronos.it@gmail.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/i915/i915_dma.c