This bugfix appears to have been ignored, so it missed 2.6.32.

I've tagged my 2.6.33 copy as needing a 2.6.32.x backport.

On Tue, 17 Nov 2009 14:08:52 -0800
a...@linux-foundation.org wrote:

> From: Andrew Morton <a...@linux-foundation.org>
> 
> 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 <jbar...@virtuousgeek.org>
> Cc: Eric Anholt <e...@anholt.net>
> Cc: Dave Airlie <airl...@linux.ie>
> Signed-off-by: Andrew Morton <a...@linux-foundation.org>
> ---
> 
>  drivers/gpu/drm/i915/i915_dma.c |    3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff -puN 
> drivers/gpu/drm/i915/i915_dma.c~drivers-gpu-drm-i915-i915_dmac-fix-unused-var 
> drivers/gpu/drm/i915/i915_dma.c
> --- 
> a/drivers/gpu/drm/i915/i915_dma.c~drivers-gpu-drm-i915-i915_dmac-fix-unused-var
> +++ a/drivers/gpu/drm/i915/i915_dma.c
> @@ -1111,7 +1111,8 @@ static void i915_setup_compression(struc
>  {
>       struct drm_i915_private *dev_priv = dev->dev_private;
>       struct drm_mm_node *compressed_fb, *compressed_llb;
> -     unsigned long cfb_base, ll_base;
> +     unsigned long cfb_base;
> +     unsigned long ll_base = 0;
>  
>       /* Leave 1M for line length buffer & misc. */
>       compressed_fb = drm_mm_search_free(&dev_priv->vram, size, 4096, 0);
> _

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to