Loading hw/scsi/megasas.c +1 −1 Original line number Diff line number Diff line Loading @@ -431,7 +431,7 @@ static uint64_t megasas_fw_time(void) static uint64_t megasas_get_sata_addr(uint16_t id) { uint64_t addr = (0x1221ULL << 48); return addr & (id << 24); return addr | ((uint64_t)id << 24); } /* Loading Loading
hw/scsi/megasas.c +1 −1 Original line number Diff line number Diff line Loading @@ -431,7 +431,7 @@ static uint64_t megasas_fw_time(void) static uint64_t megasas_get_sata_addr(uint16_t id) { uint64_t addr = (0x1221ULL << 48); return addr & (id << 24); return addr | ((uint64_t)id << 24); } /* Loading