ACRN:DM: Fix the bug introduced by 977da8f08.

Fix the bug introduced by 977da8f08. 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 aeb3690b6f
commit a5ab8d567a
1 changed files with 1 additions and 1 deletions

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;
}