summaryrefslogtreecommitdiff
path: root/lib/igt_debugfs.c
diff options
context:
space:
mode:
authorLyude <lyude@redhat.com>2016-12-17 05:50:13 -0500
committerRobert Foss <robert.foss@collabora.com>2016-12-17 06:33:06 -0500
commit68c59ce95443e8b1bd477a1baed0f08e89a645f9 (patch)
treea0c7b6634eed9f6b0e52f1d334543f38ade6a8f3 /lib/igt_debugfs.c
parent1ee803a790090c306765fe1b598b9d8d0a91e2b3 (diff)
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 <lyude@redhat.com> Tested-by: Robert Foss <robert.foss@collabora.com>
Diffstat (limited to 'lib/igt_debugfs.c')
-rw-r--r--lib/igt_debugfs.c2
1 files changed, 1 insertions, 1 deletions
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;