[igt-dev] [PATCH i-g-t v2 0/1] clear igt_devs.devs_scanned in igt_devices_free

Riana Tauro riana.tauro at intel.com
Thu Sep 29 04:50:57 UTC 2022


igt_devices_scan returns with empty list if devs_scanned
is true and function is called after igt_devices_free

clear igt_devs.devs_scanned in igt_devices_free.

Rev2: optimize code in igt_devices_scan

Riana Tauro (1):
  lib/igt_device_scan: clear igt_devs.devs_scanned in igt_devices_free

 lib/igt_device_scan.c | 20 ++++----------------
 1 file changed, 4 insertions(+), 16 deletions(-)

-- 
2.25.1



More information about the igt-dev mailing list