[PATCH openEuler-5.10-LTS 393/427] tilcdc: tilcdc_external: fix an incorrect NULL check on list iterator