• Andrew Morton's avatar
    drm/i915: fix unused var · 29bd0ae2
    Andrew Morton authored
    drivers/gpu/drm/i915/i915_dma.c: In function 'i915_driver_load':
    drivers/gpu/drm/i915/i915_dma.c:1114: warning: 'll_base' may be used uninitialized in this function
    
    Partly this is because gcc isn't smart enough.  But `ll_base' does get used
    uninitialised in the DRM_DEBUG() call.
    
    Cc: Jesse Barnes <jbarnes@virtuousgeek.org>
    Cc: Eric Anholt <eric@anholt.net>
    Cc: Dave Airlie <airlied@linux.ie>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarEric Anholt <eric@anholt.net>
    29bd0ae2
i915_dma.c 44.1 KB