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

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

diff -u --recursive --new-file v2.3.42/linux/drivers/scsi/scsi_merge.c linux/drivers/scsi/scsi_merge.c
@@ -109,9 +109,7 @@
 #define SANITY_CHECK(req, _CLUSTER, _DMA)				\
     if( req->nr_segments != __count_segments(req, _CLUSTER, _DMA, NULL) )	\
     {									\
-	__label__ here;							\
-here:									\
-	printk("Incorrect segment count at 0x%p", &&here);		\
+	printk("Incorrect segment count at 0x%p", current_text_addr());	\
 	dump_stats(req, _CLUSTER, _DMA, __count_segments(req, _CLUSTER, _DMA, NULL)); \
     }
 #else

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