mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-12 20:39:59 +00:00
hv: modify printf "not support the vuart index parameter" in vuart_register_io_handler
call vuart_register_io_handler function, when the parameter vuart_idx is greater than or equal to 2, print the vuart index value which will not register the vuart. Tracked-On: #4072 Signed-off-by: Jidong Xia <xiajidong@cmss.chinamobile.com>
This commit is contained in:
@@ -534,7 +534,7 @@ static bool vuart_register_io_handler(struct acrn_vm *vm, uint16_t port_base, ui
|
||||
pio_idx = UART_PIO_IDX1;
|
||||
break;
|
||||
default:
|
||||
printf("Not support vuart index %d, will not register \n");
|
||||
printf("Not support vuart index %d, will not register \n", vuart_idx);
|
||||
ret = false;
|
||||
}
|
||||
if (ret != 0U) {
|
||||
|
Reference in New Issue
Block a user