[patch] 64 bit bug in video1394.c

jes@trained-monkey.org
Thu, 16 Aug 2001 00:49:56 -0400


Hi

drivers/message/i2o/i2o_block.c cpu flags in 'int' which breaks on 64
bit boxes.

Here's a patch.

Jes

--- drivers/message/i2o/i2o_block.c~ Wed Aug 8 00:08:04 2001
+++ drivers/message/i2o/i2o_block.c Thu Aug 16 00:48:19 2001
@@ -721,7 +721,7 @@
static int i2ob_evt(void *dummy)
{
unsigned int evt;
- unsigned int flags;
+ unsigned long flags;
int unit;
int i;
//The only event that has data is the SCSI_SMART event.
@@ -1706,7 +1706,7 @@
{
int unit = 0;
int i = 0;
- int flags;
+ unsigned long flags;

spin_lock_irqsave(&io_request_lock, flags);

-
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/