patch-1.3.4 linux/drivers/scsi/scsi.c

Next file: linux/drivers/scsi/scsi.h
Previous file: linux/drivers/scsi/script_asm.pl
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.3/linux/drivers/scsi/scsi.c linux/drivers/scsi/scsi.c
@@ -1900,7 +1900,7 @@
 
   save_flags(flags);
   cli();
-  if(dma_malloc_freelist[page] & (mask << sector) != (mask<<sector))
+  if((dma_malloc_freelist[page] & (mask << sector)) != (mask<<sector))
     panic("Trying to free unused memory");
 
   dma_free_sectors += nbits;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this