[igt-dev] [PATCH i-g-t] tests/kms_dp_dsc: Add missing newline in assert message

Petri Latvala petri.latvala at intel.com
Tue Mar 23 10:43:20 UTC 2021


Assert messages need to end in a newline always.

Signed-off-by: Petri Latvala <petri.latvala at intel.com>
Cc: Manasi Navare <manasi.d.navare at intel.com>
Cc: Ankit Nautiyal <ankit.k.nautiyal at intel.com>
---
 tests/kms_dp_dsc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/kms_dp_dsc.c b/tests/kms_dp_dsc.c
index e2e3aaa0..194c0639 100644
--- a/tests/kms_dp_dsc.c
+++ b/tests/kms_dp_dsc.c
@@ -120,7 +120,7 @@ static void force_dp_dsc_enable(data_t *data)
 	strcat(file_name, "/i915_dsc_fec_support");
 	igt_debug ("Forcing DSC enable on %s\n", data->conn_name);
 	ret = igt_sysfs_write(data->debugfs_fd, file_name, "1", 1);
-	igt_assert_f(ret > 0, "debugfs_write failed");
+	igt_assert_f(ret > 0, "debugfs_write failed\n");
 }
 
 static bool is_force_dsc_enabled(data_t *data)
-- 
2.29.2



More information about the igt-dev mailing list