From: Luca Coelho <luciano.coelho@intel.com>
To: igt-dev@lists.freedesktop.org
Cc: kamil.konieczny@linux.intel.com
Subject: [PATCH i-g-t v2 0/2] check drmModeGetConnector() return value in some missing places
Date: Tue, 28 May 2024 10:58:53 +0300 [thread overview]
Message-ID: <20240528075855.463729-1-luciano.coelho@intel.com> (raw)
Hi,
There are some places where the return value of calls to the
drmModeGetConnector() function are not checked, even though it can
return NULL in some cases.
Fix that in lib/igt_chamelium and intel/i915_pm_rpm.
In v2:
* change igt_warn() to igt_debug() [Kamil]
* set connected to false when we can't get the connector [Kamil]
* added Chromium stakeholders in Cc. [Kamil]
* shortened the commit message a bit. [Kamil]
Please review.
Cheers,
Luca.
Luca Coelho (2):
lib/igt_chamelium: check drmModeGetConnector() return in
wait_for_connected_state()
tests/intel: check drmModeGetConnector() return in i915_pm_rpm
lib/igt_chamelium.c | 5 +++++
tests/intel/i915_pm_rpm.c | 6 ++++++
2 files changed, 11 insertions(+)
--
2.39.2
next reply other threads:[~2024-05-28 7:59 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-28 7:58 Luca Coelho [this message]
2024-05-28 7:58 ` [PATCH i-g-t v2 1/2] lib/igt_chamelium: check drmModeGetConnector() return in wait_for_connected_state() Luca Coelho
2024-05-29 16:06 ` Kamil Konieczny
2024-05-29 21:13 ` Luca Coelho
2024-06-07 14:38 ` Kamil Konieczny
2024-06-12 13:55 ` Luca Coelho
2024-05-28 7:58 ` [PATCH i-g-t v2 2/2] tests/intel: check drmModeGetConnector() return in i915_pm_rpm Luca Coelho
2024-05-29 16:37 ` Kamil Konieczny
2024-05-29 21:45 ` Luca Coelho
2024-06-07 14:39 ` Kamil Konieczny
2024-06-12 13:57 ` Luca Coelho
2024-05-28 18:25 ` ✓ CI.xeBAT: success for check drmModeGetConnector() return value in some missing places (rev3) Patchwork
2024-05-28 18:33 ` ✓ Fi.CI.BAT: " Patchwork
2024-05-28 19:38 ` ✓ CI.xeFULL: " Patchwork
2024-05-29 11:05 ` ✗ Fi.CI.IGT: failure " Patchwork
2024-05-29 11:50 ` Luca Coelho
2024-05-30 8:57 ` Illipilli, TejasreeX
2024-05-30 7:49 ` ✓ Fi.CI.IGT: success " 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=20240528075855.463729-1-luciano.coelho@intel.com \
--to=luciano.coelho@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