Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] tests/intel/kms_dp_link_training: fix assert
@ 2025-02-27  9:57 Kunal Joshi
  2025-02-28  2:36 ` ✓ Xe.CI.BAT: success for " Patchwork
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Kunal Joshi @ 2025-02-27  9:57 UTC (permalink / raw)
  To: igt-dev; +Cc: Kunal Joshi, Naladala Ramanaidu

fix return type of igt_find_all_mst_output_in_topology
from bool to int

Fixes: 983ffca5ff96fd67c937691337f4488e28948aa7
Cc: Naladala Ramanaidu <ramanaidu.naladala@intel.com>
Signed-off-by: Kunal Joshi <kunal1.joshi@intel.com>
---
 tests/intel/kms_dp_link_training.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/intel/kms_dp_link_training.c b/tests/intel/kms_dp_link_training.c
index f00376614..05aeefdd4 100644
--- a/tests/intel/kms_dp_link_training.c
+++ b/tests/intel/kms_dp_link_training.c
@@ -95,7 +95,7 @@ static void assert_link_status_good(data_t *data, bool mst)
 	if (mst) {
 		igt_assert_f(igt_find_all_mst_output_in_topology(data->drm_fd,
 								 &data->display, data->output,
-								 outputs, &count),
+								 outputs, &count) == 0,
 								 "Unable to find MST outputs\n");
 
 		for (i = 0; i < count; i++) {
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2025-02-28 13:28 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-27  9:57 [PATCH] tests/intel/kms_dp_link_training: fix assert Kunal Joshi
2025-02-28  2:36 ` ✓ Xe.CI.BAT: success for " Patchwork
2025-02-28  2:58 ` ✓ i915.CI.BAT: " Patchwork
2025-02-28  7:22 ` ✗ Xe.CI.Full: failure " Patchwork
2025-02-28 13:28 ` ✗ i915.CI.Full: " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox