From 68c59ce95443e8b1bd477a1baed0f08e89a645f9 Mon Sep 17 00:00:00 2001 From: Lyude Date: Sat, 17 Dec 2016 05:50:13 -0500 Subject: igt_kms: Use const parameters for igt_assert_crc_equal Since we're not modifying these anywhere, let's make them const so as to not break code doing comparisons against compile-time CRCs. Signed-off-by: Lyude Tested-by: Robert Foss --- lib/igt_debugfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/igt_debugfs.c') diff --git a/lib/igt_debugfs.c b/lib/igt_debugfs.c index 3d92c6a1..f8c87275 100644 --- a/lib/igt_debugfs.c +++ b/lib/igt_debugfs.c @@ -270,7 +270,7 @@ bool igt_debugfs_search(const char *filename, const char *substring) * be random testcase failures when different screen contents end up with the * same CRC by chance. */ -void igt_assert_crc_equal(igt_crc_t *a, igt_crc_t *b) +void igt_assert_crc_equal(const igt_crc_t *a, const igt_crc_t *b) { int i; -- cgit v1.2.3