Modules/ATA - Fixed uninitialised variable
authorJohn Hodge <[email protected]>
Tue, 8 Oct 2013 15:13:42 +0000 (23:13 +0800)
committerJohn Hodge <[email protected]>
Tue, 8 Oct 2013 15:13:42 +0000 (23:13 +0800)
KernelLand/Modules/Storage/ATA/io.c

index b15918e..28ae899 100644 (file)
@@ -305,7 +305,7 @@ int ATA_DoDMA(Uint8 Disk, Uint64 Address, Uint Count, int bWrite, void *Buffer)
         int    cont = (Disk>>1)&1;     // Controller ID
         int    disk = Disk & 1;
        Uint16  base;
-        int    bUseBounceBuffer;
+        int    bUseBounceBuffer = 0;
 
        ENTER("iDisk XAddress iCount bbWrite pBuffer", Disk, Address, Count, bWrite, Buffer);
 

UCC git Repository :: git.ucc.asn.au