[PATCH i-g-t 0/2] check drmModeGetConnector() return value in some missing places

Luca Coelho luciano.coelho at intel.com
Thu May 23 08:44:24 UTC 2024


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.

Please review.

Cheers,
Luca.


Luca Coelho (2):
  lib/igt_chamelium: check drmModeGetConnector() return value in
    wait_for_connected_state()
  tests/intel: check drmModeGetConnector() return value in i915_pm_rpm

 lib/igt_chamelium.c       | 3 +++
 tests/intel/i915_pm_rpm.c | 6 ++++++
 2 files changed, 9 insertions(+)

-- 
2.39.2



More information about the igt-dev mailing list