Fix infinite loop in the device probe function. drivers/scsi/atp870u.c | 4 +--- 1 files changed, 1 insertion(+), 3 deletions(-) diff -puN drivers/scsi/atp870u.c~atp870u_detect-lockup-fix drivers/scsi/atp870u.c --- 25/drivers/scsi/atp870u.c~atp870u_detect-lockup-fix 2003-08-18 22:28:58.000000000 -0700 +++ 25-akpm/drivers/scsi/atp870u.c 2003-08-18 22:28:58.000000000 -0700 @@ -2304,9 +2304,7 @@ static int atp870u_detect(Scsi_Host_Temp printk(KERN_INFO "aec671x_detect: \n"); tpnt->proc_name = "atp870u"; - h = 0; - while (devid[h] != 0) - { + for (h = 0; devid[h]; h++) { struct pci_dev *dev = NULL; while((dev = pci_find_device(0x1191, devid[h], dev))!=NULL) _