[PATCH i-g-t 1/3] test/kms_content_protection: Fix variable declaration
B, Jeevan
jeevan.b at intel.com
Tue Sep 10 09:57:30 UTC 2024
LGTM.
Reviewed-by: Jeevan B <jeevan.b at intel.com>
> -----Original Message-----
> From: Kandpal, Suraj <suraj.kandpal at intel.com>
> Sent: Tuesday, September 10, 2024 3:15 PM
> To: igt-dev at lists.freedesktop.org
> Cc: Thasleem, Mohammed <mohammed.thasleem at intel.com>; B S, Karthik
> <karthik.b.s at intel.com>; B, Jeevan <jeevan.b at intel.com>; Kandpal, Suraj
> <suraj.kandpal at intel.com>
> Subject: [PATCH i-g-t 1/3] test/kms_content_protection: Fix variable
> declaration
>
> 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