[PATCH openEuler-5.10 359/427] scsi: dc395x: Fix a missing check on list iterator