[PATCH i-g-t 1/3] test/kms_content_protection: Fix variable declaration

Suraj Kandpal suraj.kandpal at intel.com
Tue Sep 10 09:45:26 UTC 2024


Fix first output_variable declaration to int as it accepts
only a int argument and not a bool.

Fixes: a6c718174 ("tests/kms_content_protection: Add MST subtests")
Signed-off-by: Suraj Kandpal <suraj.kandpal at intel.com>
---
 tests/kms_content_protection.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/kms_content_protection.c b/tests/kms_content_protection.c
index 2d9f3eebe..cad8811ea 100644
--- a/tests/kms_content_protection.c
+++ b/tests/kms_content_protection.c
@@ -646,7 +646,7 @@ static bool output_is_dp_mst(igt_output_t *output, int i)
 	return true;
 }
 
-static void test_cp_lic_on_mst(igt_output_t *mst_outputs[], int valid_outputs, bool first_output)
+static void test_cp_lic_on_mst(igt_output_t *mst_outputs[], int valid_outputs, int first_output)
 {
 	int ret, count;
 	uint64_t val;
-- 
2.43.2



More information about the igt-dev mailing list