diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2010-07-24 17:15:11 +0100 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2010-08-02 10:12:21 +1000 |
commit | c39721c775f7ac20af5ff1cbbd11f80aeec91baa (patch) | |
tree | fd32f45abcbdd14fb859671702e2c87f1f495089 /drivers/gpu/drm | |
parent | 90c1efdd121c84ee73e9960667229a662f2315a3 (diff) | |
download | linux-3.10-c39721c775f7ac20af5ff1cbbd11f80aeec91baa.tar.gz linux-3.10-c39721c775f7ac20af5ff1cbbd11f80aeec91baa.tar.bz2 linux-3.10-c39721c775f7ac20af5ff1cbbd11f80aeec91baa.zip |
drm/vmgfx: operation on ‘par->dirty.y1’ may be undefined
Trivial fix to set y1 = y2 = 0.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Jakob Bornecrantz <jakob@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm')
-rw-r--r-- | drivers/gpu/drm/vmwgfx/vmwgfx_fb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_fb.c b/drivers/gpu/drm/vmwgfx/vmwgfx_fb.c index b0866f04ec7..870967a97c1 100644 --- a/drivers/gpu/drm/vmwgfx/vmwgfx_fb.c +++ b/drivers/gpu/drm/vmwgfx/vmwgfx_fb.c @@ -528,7 +528,7 @@ int vmw_fb_init(struct vmw_private *vmw_priv) * Dirty & Deferred IO */ par->dirty.x1 = par->dirty.x2 = 0; - par->dirty.y1 = par->dirty.y1 = 0; + par->dirty.y1 = par->dirty.y2 = 0; par->dirty.active = true; spin_lock_init(&par->dirty.lock); info->fbdefio = &vmw_defio; |