From 60bd7ed01b4144160f93ecd63755dacd80ff9bd0 Mon Sep 17 00:00:00 2001 From: Owain Ainsworth Date: Wed, 28 Apr 2010 01:06:04 +0000 Subject: *sigh* make the same change as previous commit to the sister function of the one changed. --- sys/dev/pci/drm/i915_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/pci/drm/i915_drv.c b/sys/dev/pci/drm/i915_drv.c index fe8ce3cd507..91baf10270c 100644 --- a/sys/dev/pci/drm/i915_drv.c +++ b/sys/dev/pci/drm/i915_drv.c @@ -4540,7 +4540,7 @@ i915_gem_bit_17_swizzle(struct drm_obj *obj) obj_priv->bit_17 == NULL) return; - while (i < page_count) { + for (i = 0; i < page_count; i++) { /* compare bit 17 with previous one (in case we swapped). * if they don't match we'll have to swizzle the page */ -- cgit v1.2.3