From 2eca38eab9ccb4bc41ceda4992614ffb311ce4f7 Mon Sep 17 00:00:00 2001 From: Daniel Vetter Date: Sat, 7 Feb 2015 12:37:48 +0100 Subject: lib/igt_aux: s/swap/igt_swap/ It collides with the subtest naming convention glossary entry for swap. Which makes the docbook xml stuff unhappy. Signed-off-by: Daniel Vetter --- lib/igt.cocci | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/igt.cocci') diff --git a/lib/igt.cocci b/lib/igt.cocci index fd4ad256..41a8beb3 100644 --- a/lib/igt.cocci +++ b/lib/igt.cocci @@ -92,7 +92,7 @@ expression E; - assert(E); + igt_assert(E); -// Replace open-coded swap() +// Replace open-coded igt_swap() @@ type T; T a, b, tmp; @@ -100,7 +100,7 @@ T a, b, tmp; - tmp = a; - a = b; - b = tmp; -+ swap(a, b); ++ igt_swap(a, b); // Replace open-coded min() @@ -- cgit v1.2.3