drivers/gpu/drm/i915/i915_dma.c: fix unused var
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
Yeah, may as well apply this one, or the printk will look funky on GM45+ platforms.
Eric?
Jesse
Quoted 42 lines · On Mon, 21 Dec 2009 15:23:20 -0800 Andrew Morton <[email protected]>…
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.
Quoted 33 lines · On Tue, 17 Nov 2009 14:08:52 -0800 [email protected] wrote:
From: Andrew Morton <[email protected]>
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 functionPartly this is because gcc isn't smart enough. But `ll_base' does get used uninitialised in the
DRM_DEBUG()call.Cc Jesse Barnes <[email protected]>Cc Eric Anholt <[email protected]>Cc Dave Airlie <[email protected]>Signed-off-by Andrew Morton <[email protected]>---
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-vardrivers/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 { structdrm_i915_private*dev_priv=dev->dev_private; structdrm_mm_node*compressed_fb,*compressed_llb;(quoted diff) +2
-1- 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); _
Signature · 9 lines
Jesse Barnes, Intel Open Source Technology Center ------------------------------------------------------------------------------ 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 --
Eric Anholt
AppliedQuoted 5 lines · On Tue, 17 Nov 2009 14:08:52 -0800, [email protected] wrote:
From: Andrew Morton <[email protected]>
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
Quoted 7 lines
Partly this is because gcc isn't smart enough. But `ll_base' does get used uninitialised in the
DRM_DEBUG()call.Cc Jesse Barnes <[email protected]>Cc Eric Anholt <[email protected]>Cc Dave Airlie <[email protected]>Signed-off-by Andrew Morton <[email protected]>
Applied. thanks!
------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel