patch-2.1.29 linux/drivers/scsi/wd7000.c

Next file: linux/fs/proc/Makefile
Previous file: linux/drivers/scsi/t128.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.28/linux/drivers/scsi/wd7000.c linux/drivers/scsi/wd7000.c
@@ -1300,8 +1300,9 @@
 		        break;
 
 		if ((i == pass) &&
-		    !memcmp ((void *) (wd7000_biosaddr[biosaddr_ptr] +
-		             signatures[sig_ptr].ofs), signatures[sig_ptr].sig,
+		    check_signature(wd7000_biosaddr[biosaddr_ptr] +
+		             signatures[sig_ptr].ofs,
+			     signatures[sig_ptr].sig,
 		             signatures[sig_ptr].len))
 		    goto bios_matched;
 	    }

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov