Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F107194280
D31514.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
453 B
Referenced Files
None
Subscribers
None
D31514.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D31514: vmm: Fix wrong assert in ivhd_dev_add_entry
Attached
Detach File
Event Timeline
Log In to Comment