From 18fdd6d4de22f5a7ba671322ec2aa8aee392d9a5 Mon Sep 17 00:00:00 2001 From: Jonathan Gray Date: Mon, 10 Feb 2014 01:08:35 +0000 Subject: drm/radeon: forever loop on error in radeon_do_test_moves() From Dan Carpenter e81db22d989873123a9d9f33d55d86e5db2ff8af in ubuntu 3.8 89cd67b326fa95872cc2b4524cd807128db6071d in mainline linux --- sys/dev/pci/drm/radeon/radeon_test.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/dev/pci') diff --git a/sys/dev/pci/drm/radeon/radeon_test.c b/sys/dev/pci/drm/radeon/radeon_test.c index 5456447ef2c..1f8cc8bb23d 100644 --- a/sys/dev/pci/drm/radeon/radeon_test.c +++ b/sys/dev/pci/drm/radeon/radeon_test.c @@ -1,4 +1,4 @@ -/* $OpenBSD: radeon_test.c,v 1.2 2014/02/09 11:03:31 jsg Exp $ */ +/* $OpenBSD: radeon_test.c,v 1.3 2014/02/10 01:08:34 jsg Exp $ */ /* * Copyright 2009 VMware, Inc. * @@ -38,8 +38,8 @@ static void radeon_do_test_moves(struct radeon_device *rdev, int flag) struct radeon_bo **gtt_obj = NULL; struct radeon_fence *fence = NULL; uint64_t gtt_addr, vram_addr; - unsigned i, n, size; - int r, ring; + unsigned n, size; + int i, r, ring; switch (flag) { case RADEON_TEST_COPY_DMA: -- cgit v1.2.3