[patch] 64 bit bug in ohci1394.c

jes@trained-monkey.org
Thu, 16 Aug 2001 00:44:48 -0400


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

--- drivers/ieee1394/sbp2.c~ Wed Aug 8 00:08:04 2001
+++ drivers/ieee1394/sbp2.c Thu Aug 16 00:43:54 2001
@@ -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");

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/