Skip to contentSkip to conversation

fix scsi_debug compile warning

PATCH New Christoph Hellwig 1 participant 1 message Apr 27, 2003 SCSI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fix scsi_debug compile warning

spin_lock_irqsave takes an unsigned long.

drivers/scsi/scsi_debug.c +1 -1
@@ -866,7 +871,7 @@
 static void timer_intr_handler(unsigned long indx)
 {
 	struct sdebug_queued_cmd * sqcp;
-	unsigned int iflags;
+	unsigned long iflags;
 
 	if (indx >= SCSI_DEBUG_CANQUEUE) {
 		printk(KERN_ERR "scsi_debug:timer_intr_handler: indx too "