patch-2.3.39 linux/drivers/scsi/scsi_merge.c

Next file: linux/drivers/scsi/sd.c
Previous file: linux/drivers/scsi/qlogicisp.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.38/linux/drivers/scsi/scsi_merge.c linux/drivers/scsi/scsi_merge.c
@@ -790,7 +790,9 @@
 	 */
 	if (count != SCpnt->use_sg) {
 		printk("Incorrect number of segments after building list\n");
+#ifdef CONFIG_SCSI_DEBUG_QUEUES
 		dump_stats(req, use_clustering, dma_host, count);
+#endif
 	}
 	if (!dma_host) {
 		return 1;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)