64 bit bug in video1394.c
PATCH 1/1 64 bit bug in video1394.c
Hi
drivers/message/i2o/i2o_block.c cpu flags in 'int' which breaks on 64 bit boxes.
Here's a patch.
Jes
message/i2o/i2o_block.c renamed from message/i2o/i2o_block.c~ +2 -2
@@ -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);
Can't you just redefine int to unsigned long for 64-bit system?
Thanks,
Jeff
[ [email protected] ]
Quoted 7 lines · On Thu, 16 Aug 2001 [email protected] wrote:
Hi
drivers/message/i2o/i2o_block.ccpu flags in 'int' which breaks on 64 bit boxes.Here's a patch.