* [PATCH i-g-t] tests/gen3_mixed_blits: Fix misleading indentation
@ 2016-04-05 10:09 David Weinehall
0 siblings, 0 replies; only message in thread
From: David Weinehall @ 2016-04-05 10:09 UTC (permalink / raw)
To: intel-gfx
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@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
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2016-04-05 10:09 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-05 10:09 [PATCH i-g-t] tests/gen3_mixed_blits: Fix misleading indentation David Weinehall
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox