Page MenuHomeFreeBSD

D31514.diff
No OneTemporary

D31514.diff

diff --git a/sys/amd64/vmm/amd/ivrs_drv.c b/sys/amd64/vmm/amd/ivrs_drv.c
--- a/sys/amd64/vmm/amd/ivrs_drv.c
+++ b/sys/amd64/vmm/amd/ivrs_drv.c
@@ -184,7 +184,7 @@
{
struct ivhd_dev_cfg *dev_cfg;
- KASSERT(softc->dev_cfg_cap <= softc->dev_cfg_cnt,
+ KASSERT(softc->dev_cfg_cap >= softc->dev_cfg_cnt,
("Impossible case: number of dev_cfg exceeding capacity"));
if (softc->dev_cfg_cap == softc->dev_cfg_cnt) {
if (softc->dev_cfg_cap == 0)

File Metadata

Mime Type
text/plain
Expires
Sun, Jan 12, 11:44 AM (22 h, 4 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15768986
Default Alt Text
D31514.diff (453 B)

Event Timeline