[Intel-gfx] [PATCH i-g-t] tests/gen3_mixed_blits: Fix misleading indentation

David Weinehall david.weinehall at linux.intel.com
Tue Apr 5 10:09:29 UTC 2016


gcc-6 provides a neat new warning that can spot some cases
of misleading indentation.
One such case was flagged in gen3_mixed_blits; this patch fixes it.

Signed-off-by: David Weinehall <david.weinehall at linux.intel.com>
---
 tests/gen3_mixed_blits.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/gen3_mixed_blits.c b/tests/gen3_mixed_blits.c
index dce92b05a319..1159b4eb2e83 100644
--- a/tests/gen3_mixed_blits.c
+++ b/tests/gen3_mixed_blits.c
@@ -520,7 +520,7 @@ int main(int argc, char **argv)
 		while (src == dst)
 			dst = random() % count;
 
-			copy(fd, handle[dst], tiling[dst], handle[src], tiling[src]);
+		copy(fd, handle[dst], tiling[dst], handle[src], tiling[src]);
 		start_val[dst] = start_val[src];
 	}
 	igt_info("verifying..."); fflush(stdout);
-- 
2.8.0.rc3



More information about the Intel-gfx mailing list