From 8f288232170c622ab6e0660fd9b0b72d4c2e25e3 Mon Sep 17 00:00:00 2001 From: joevt Date: Tue, 31 Oct 2023 00:20:00 -0700 Subject: [PATCH] scsi: Initialize cur_phase. --- devices/common/scsi/scsi.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devices/common/scsi/scsi.h b/devices/common/scsi/scsi.h index 65c1fc1..5150321 100644 --- a/devices/common/scsi/scsi.h +++ b/devices/common/scsi/scsi.h @@ -262,7 +262,7 @@ private: uint16_t dev_ctrl_lines[SCSI_MAX_DEVS] = {}; uint16_t ctrl_lines; - int cur_phase; + int cur_phase = ScsiPhase::BUS_FREE; int arb_winner_id; int initiator_id; int target_id;