[igt-dev] [PATCH i-g-t] i915/i915_pm_rpm: No '\n' required in the igt_dynamic_f name!

Chris Wilson chris at chris-wilson.co.uk
Wed Apr 22 14:37:09 UTC 2020


I instinctively ended the string with '\n', but in this case it is but a
name and the '\n' an illegal character.

Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
---
 tests/i915/i915_pm_rpm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/i915/i915_pm_rpm.c b/tests/i915/i915_pm_rpm.c
index a34e78b6b..fedef872d 100644
--- a/tests/i915/i915_pm_rpm.c
+++ b/tests/i915/i915_pm_rpm.c
@@ -1803,7 +1803,7 @@ static void planes_subtest(bool universal, bool dpms)
 
 			type = universal ? get_plane_type(plane->plane_id) :
 					   PLANE_OVERLAY;
-			igt_dynamic_f("plane-%d\n", plane->plane_id)
+			igt_dynamic_f("plane-%d", plane->plane_id)
 				test_one_plane(dpms, plane->plane_id, type);
 		}
 		drmModeFreePlane(plane);
-- 
2.26.2



More information about the igt-dev mailing list