]> git.neil.brown.name Git - history.git/commitdiff
Fix ide-scsi.c uninitialized variable
authorLinus Torvalds <torvalds@home.osdl.org>
Tue, 2 Dec 2003 11:04:01 +0000 (03:04 -0800)
committerLinus Torvalds <torvalds@home.osdl.org>
Tue, 2 Dec 2003 11:04:01 +0000 (03:04 -0800)
drivers/scsi/ide-scsi.c

index 9626afa032a73b879189f7cfa8c29a877e3eb9ed..90b624748f1a7b4b49ad09883033346f2dc93c74 100644 (file)
@@ -517,6 +517,7 @@ static ide_startstop_t idescsi_issue_pc (ide_drive_t *drive, idescsi_pc_t *pc)
        pc->current_position=pc->buffer;
        bcount.all = IDE_MIN(pc->request_transfer, 63 * 1024);          /* Request to transfer the entire buffer at once */
 
+       feature.all = 0;
        if (drive->using_dma && rq->bio) {
                if (test_bit(PC_WRITING, &pc->flags))
                        feature.b.dma = !HWIF(drive)->ide_dma_write(drive);