Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Suraj Kandpal <suraj.kandpal@intel.com>
To: igt-dev@lists.freedesktop.org
Cc: mohammed.thasleem@intel.com, karthik.b.s@intel.com,
	jeevan.b@intel.com, Suraj Kandpal <suraj.kandpal@intel.com>
Subject: [PATCH i-g-t 1/3] test/kms_content_protection: Fix variable declaration
Date: Thu, 12 Sep 2024 13:25:33 +0530	[thread overview]
Message-ID: <20240912075536.710350-2-suraj.kandpal@intel.com> (raw)
In-Reply-To: <20240912075536.710350-1-suraj.kandpal@intel.com>

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@intel.com>
Reviewed-by: Jeevan B <jeevan.b@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


  reply	other threads:[~2024-09-12  7:58 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-12  7:55 [PATCH i-g-t 0/3] HDCP MST LIC fixes Suraj Kandpal
2024-09-12  7:55 ` Suraj Kandpal [this message]
2024-09-12  7:55 ` [PATCH i-g-t 2/3] tests/kms_content_protection: Print correct output Suraj Kandpal
2024-09-12  7:55 ` [PATCH i-g-t 3/3] test/kms_content_protection: Move color change code Suraj Kandpal
2024-09-12 11:18   ` Thasleem, Mohammed
2024-09-12  8:37 ` ✗ GitLab.Pipeline: warning for HDCP MST LIC fixes (rev2) Patchwork
2024-09-12  9:07 ` ✓ CI.xeBAT: success " Patchwork
2024-09-12  9:08 ` ✓ Fi.CI.BAT: " Patchwork
2024-09-12 16:09 ` ✗ CI.xeFULL: failure " Patchwork
2024-09-13  1:09 ` ✗ Fi.CI.IGT: " Patchwork
  -- strict thread matches above, loose matches on Subject: below --
2024-09-10  9:45 [PATCH i-g-t 0/3] HDCP MST LIC fixes Suraj Kandpal
2024-09-10  9:45 ` [PATCH i-g-t 1/3] test/kms_content_protection: Fix variable declaration Suraj Kandpal
2024-09-10  9:57   ` B, Jeevan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240912075536.710350-2-suraj.kandpal@intel.com \
    --to=suraj.kandpal@intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=jeevan.b@intel.com \
    --cc=karthik.b.s@intel.com \
    --cc=mohammed.thasleem@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox