ACRN:DM: Fix the bug introduced by dea2574819.

Fix the bug introduced by dea2574819. There had a typo that added
the "&" by mistake.

Tracked-On: #6476
Signed-off-by: Liu Long <long.liu@intel.com>
Acked-by: Wang, Yu1 <yu1.wang@intel.com>
This commit is contained in:
Liu Long 2021-08-26 09:23:59 +08:00 committed by wenlingz
parent 2e2207b00b
commit 9cc090e677

View File

@ -1817,7 +1817,7 @@ pci_xhci_insert_event(struct pci_xhci_vdev *xdev,
int erdp_idx;
rts = &xdev->rtsregs;
if (&rts->erstba_p == NULL) {
if (rts->erstba_p == NULL) {
UPRINTF(LFTL, "Invalid Event Ring Segment Table base address!\r\n");
return -EINVAL;
}