mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-06-08 10:04:42 +00:00
dm:replace perror with pr_err
use acrn-dm logger function instread of perror, this helps the stability testing log capture. Tracked-On: #4098 Signed-off-by: Mingqiang Chi <mingqiang.chi@intel.com>
This commit is contained in:
@@ -133,7 +133,7 @@ int create_mmio_rsvd_rgn(uint64_t start,
|
||||
int i;
|
||||
|
||||
if(bar_type == PCIBAR_IO){
|
||||
perror("fail to create PCIBAR_IO bar_type\n");
|
||||
pr_err("fail to create PCIBAR_IO bar_type\n");
|
||||
return -1;
|
||||
}
|
||||
|
||||
@@ -154,7 +154,7 @@ int create_mmio_rsvd_rgn(uint64_t start,
|
||||
}
|
||||
}
|
||||
|
||||
perror("reserved_bar_regions is overflow\n");
|
||||
pr_err("reserved_bar_regions is overflow\n");
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user