--- R29/drivers/scsi/scsi.c 2004-03-24 19:55:45.000000000 +0000 +++ R63/drivers/scsi/scsi.c 2005-05-31 10:38:52.000000000 +0100 @@ -84,7 +84,7 @@ #endif /* - static const char RCSid[] = "$Header: /home/cvsroot/NSLU2/linux-2.4.x/drivers/scsi/scsi.c,v 1.1.1.1 2004/03/24 19:55:45 sure Exp $"; + static const char RCSid[] = "$Header: /home/nas-cvsroot/NSLU2_V2/linux-2.4.x/drivers/scsi/scsi.c,v 1.2 2005/05/31 09:38:52 shearer Exp $"; */ /* @@ -1991,9 +1991,10 @@ for (shpnt = scsi_hostlist; shpnt; shpnt = shpnt->next) { for (SDpnt = shpnt->host_queue; SDpnt; SDpnt = SDpnt->next) if (SDpnt->host->hostt == tpnt) { - for (sdtpnt = scsi_devicelist; sdtpnt; sdtpnt = sdtpnt->next) - if (sdtpnt->attach) - (*sdtpnt->attach) (SDpnt); + for (sdtpnt = scsi_devicelist; sdtpnt; sdtpnt = sdtpnt->next) + if (sdtpnt->attach){ + (*sdtpnt->attach) (SDpnt); + } if (SDpnt->attached) { scsi_build_commandblocks(SDpnt); if (0 == SDpnt->has_cmdblocks) @@ -2049,7 +2050,7 @@ char name[10]; /* host_no>=10^9? I don't think so. */ /* get the big kernel lock, so we don't race with open() */ - lock_kernel(); + lock_kernel(); /* * First verify that this host adapter is completely free with no pending