Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Bhanuprakash Modem <bhanuprakash.modem@intel.com>
To: igt-dev@lists.freedesktop.org
Cc: Bhanuprakash Modem <bhanuprakash.modem@intel.com>,
	Kamil Konieczny <kamil.konieczny@linux.intel.com>
Subject: [PATCH i-g-t 1/5] tests/fbdev: Fix fd closure
Date: Tue, 28 May 2024 11:12:19 +0530	[thread overview]
Message-ID: <20240528054223.2945356-2-bhanuprakash.modem@intel.com> (raw)
In-Reply-To: <20240528054223.2945356-1-bhanuprakash.modem@intel.com>

As the file descriptor in this test is not a drm device,
don't use drm_close_driver() to close the fd, instead
use close().

Cc: Kamil Konieczny <kamil.konieczny@linux.intel.com>
Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com>
---
 tests/fbdev.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/fbdev.c b/tests/fbdev.c
index 154e78b0f..794882a6a 100644
--- a/tests/fbdev.c
+++ b/tests/fbdev.c
@@ -443,6 +443,6 @@ igt_main
 	}
 
 	igt_fixture {
-		drm_close_driver(fd);
+		close(fd);
 	}
 }
-- 
2.43.2


  reply	other threads:[~2024-05-28  5:49 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-28  5:42 [PATCH i-g-t 0/5] Enable fbdev tests on XE Bhanuprakash Modem
2024-05-28  5:42 ` Bhanuprakash Modem [this message]
2024-05-28 15:26   ` [PATCH i-g-t 1/5] tests/fbdev: Fix fd closure Kamil Konieczny
2024-05-28  5:42 ` [PATCH i-g-t 2/5] tests/fbdev: Add testplan documentation Bhanuprakash Modem
2024-05-28 15:39   ` Kamil Konieczny
2024-05-29 11:34     ` Modem, Bhanuprakash
2024-05-29 15:15       ` Kamil Konieczny
2024-05-28  5:42 ` [PATCH i-g-t 3/5] tests/intel/kms_test_config: Add fbdev tests to testplan Bhanuprakash Modem
2024-05-29 14:59   ` Kamil Konieczny
2024-05-28  5:42 ` [PATCH i-g-t 4/5] tests/intel-ci/xe: Drop fbdev tests from blocklist Bhanuprakash Modem
2024-05-29 15:16   ` Kamil Konieczny
2024-05-28  5:42 ` [PATCH i-g-t 5/5] tests/intel-ci/xe: Add fbdev tests to XE BAT Bhanuprakash Modem
2024-05-29 15:00   ` Kamil Konieczny
2024-06-05  8:23   ` Karthik B S
2024-05-28  6:16 ` ✓ CI.xeBAT: success for Enable fbdev tests on XE Patchwork
2024-05-28  6:24 ` ✗ Fi.CI.BAT: failure " Patchwork
2024-05-28  7:40   ` Modem, Bhanuprakash
2024-05-29  5:28     ` Illipilli, TejasreeX
2024-05-28  7:11 ` ✗ CI.xeFULL: " Patchwork
2024-05-29  5:11 ` ✓ Fi.CI.BAT: success " Patchwork
2024-05-29 23:04 ` ✗ Fi.CI.IGT: failure " Patchwork

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=20240528054223.2945356-2-bhanuprakash.modem@intel.com \
    --to=bhanuprakash.modem@intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=kamil.konieczny@linux.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