patch-2.2.19 linux/drivers/scsi/aha1542.c
Next file: linux/drivers/scsi/aha1740.c
Previous file: linux/drivers/scsi/README.tmscsim
Back to the patch index
Back to the overall index
- Lines: 11
- Date:
Sun Mar 25 11:37:35 2001
- Orig file:
v2.2.18/drivers/scsi/aha1542.c
- Orig date:
Sun Mar 25 11:28:29 2001
diff -u --new-file --recursive --exclude-from /usr/src/exclude v2.2.18/drivers/scsi/aha1542.c linux/drivers/scsi/aha1542.c
@@ -560,7 +560,9 @@
done(SCpnt); return 0;});
if(*cmd == REQUEST_SENSE){
-#ifndef DEBUG
+#if 0
+ /* scsi_request_sense() provides a buffer of size 256,
+ so there is no reason to expect equality */
if (bufflen != sizeof(SCpnt->sense_buffer)) {
printk("Wrong buffer length supplied for request sense (%d)\n",bufflen);
};
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)