patch-2.1.103 linux/drivers/scsi/aha152x.c
Next file: linux/drivers/scsi/eata.c
Previous file: linux/drivers/scsi/53c7,8xx.c
Back to the patch index
Back to the overall index
- Lines: 32
- Date:
Thu May 14 18:49:34 1998
- Orig file:
v2.1.102/linux/drivers/scsi/aha152x.c
- Orig date:
Thu May 14 19:47:40 1998
diff -u --recursive --new-file v2.1.102/linux/drivers/scsi/aha152x.c linux/drivers/scsi/aha152x.c
@@ -613,11 +613,12 @@
prev = ptr, ptr = (Scsi_Cmnd *) ptr->host_scribble)
;
- if(ptr)
+ if(ptr){
if(prev)
prev->host_scribble = ptr->host_scribble;
else
*SC= (Scsi_Cmnd *) ptr->host_scribble;
+ }
return ptr;
}
@@ -1727,7 +1728,7 @@
/* we are waiting for the result of a selection attempt */
if(CURRENT_SC->SCp.phase & in_selection) {
- if(TESTLO(SSTAT1, SELTO))
+ if(TESTLO(SSTAT1, SELTO)) {
/* no timeout */
if(TESTHI(SSTAT0, SELDO)) {
/* clear BUS FREE interrupt */
@@ -1803,7 +1804,7 @@
return;
} else
aha152x_panic(shpnt, "neither timeout nor selection\007");
- else {
+ } else {
#if defined(DEBUG_SELECTION) || defined(DEBUG_PHASES)
if(HOSTDATA(shpnt)->debug & (debug_selection|debug_phases))
printk("SELTO, ");
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov