Skip to contentSkip to conversation

64 bit bug in ohci1394.c

PATCH New [email protected] 1 participant 1 message Aug 16, 2001

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 64 bit bug in ohci1394.c

Hi

drivers/ieee1394/sbp.c has a couple of instances where it saved cpu flags in 'int' which breaks on 64 bit boxes.

Here's a patch.

Jes

ieee1394/sbp2.c renamed from ieee1394/sbp2.c~ +2 -2
@@ -984,7 +984,7 @@
 static void sbp2_add_host(struct hpsb_host *host)
 {
 	struct sbp2scsi_host_info *hi;
-	unsigned int flags;
+	unsigned long flags;
 
 	SBP2_DEBUG("sbp2: sbp2_add_host");
 
@@ -1067,7 +1067,7 @@
 {
 	struct sbp2scsi_host_info *hi;
 	int i;
-	unsigned int flags;
+	unsigned long flags;
 
 	SBP2_DEBUG("sbp2: sbp2_remove_host");