mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-06-09 02:24:45 +00:00
dm:use acrn-dm logger function instread of printf
Use acrn-dm logger function instread of printf, this helps the stability testing log capture. Tracked-On: #4098 Signed-off-by: Mingqiang Chi <mingqiang.chi@intel.com> Reviewed-by: Cao Minggui <minggui.cao@intel.com> Reviewed-by: Yin Fengwei <fengwei.yin@intel.com>
This commit is contained in:
@@ -3919,7 +3919,7 @@ pci_xhci_parse_log_level(struct pci_xhci_vdev *xdev, char *opts)
|
||||
|
||||
errout:
|
||||
if (rc)
|
||||
printf("USB: fail to set log level, rc=%d\r\n", rc);
|
||||
pr_err("USB: fail to set log level, rc=%d\r\n", rc);
|
||||
free(o);
|
||||
return rc;
|
||||
}
|
||||
@@ -4086,7 +4086,7 @@ pci_xhci_parse_extcap(struct pci_xhci_vdev *xdev, char *opts)
|
||||
|
||||
errout:
|
||||
if (rc)
|
||||
printf("USB: fail to set vendor capability, rc=%d\r\n", rc);
|
||||
pr_err("USB: fail to set vendor capability, rc=%d\r\n", rc);
|
||||
free(o);
|
||||
return rc;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user