Fix 64bit warnings in BusLogic driver
Subsystems (2)
PATCH 1/1 Fix 64bit warnings in BusLogic driver
During a make allyesconfig on x86-64 I noticed several integer/pointer mismatch warnings in the bus logic driver.
This cleans them up.
-Andi
drivers/scsi/BusLogic.c renamed from drivers/scsi/BusLogic.c-o +2 -2
@@ -3538,8 +3538,8 @@CCB ->DataLength = Count *sizeof (BusLogic_ScatterGatherSegment_T);if (BusLogic_MultiMasterHostAdapterP (HostAdapter))CCB ->DataPointer = (unsigned int )CCB ->DMA_Handle + - ((unsigned int )&CCB ->ScatterGatherList - - (unsigned int )CCB ); + ((unsigned long )&CCB ->ScatterGatherList - + (unsigned long )CCB );else CCB ->DataPointer =Virtual_to_32Bit_Virtual (CCB ->ScatterGatherList);for (Segment =0 ; Segment < Count; Segment++) {