From fadb28117b1c1842ed7d6797bfa5b6db39443dac Mon Sep 17 00:00:00 2001 From: Alex Brown Date: Tue, 9 Jul 2024 13:32:07 +1000 Subject: [PATCH] examples/virtio: fix serial_config style Signed-off-by: Alex Brown --- examples/virtio/include/serial_config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/virtio/include/serial_config.h b/examples/virtio/include/serial_config.h index af3ff55f6..b41996a7f 100644 --- a/examples/virtio/include/serial_config.h +++ b/examples/virtio/include/serial_config.h @@ -77,7 +77,7 @@ static inline void serial_virt_queue_init_sys(char *pd_name, serial_queue_handle serial_queue_init(&cli_queue_handle[1], (serial_queue_t *)(cli_queue + SERIAL_QUEUE_SIZE), SERIAL_RX_DATA_REGION_SIZE_CLI1, (char *)(cli_data + SERIAL_RX_DATA_REGION_SIZE_CLI0)); serial_queue_init(&cli_queue_handle[2], (serial_queue_t *)(cli_queue + 2 * SERIAL_QUEUE_SIZE), - SERIAL_RX_DATA_REGION_SIZE_CLI2, + SERIAL_RX_DATA_REGION_SIZE_CLI2, (char *)(cli_data + SERIAL_RX_DATA_REGION_SIZE_CLI0 + SERIAL_RX_DATA_REGION_SIZE_CLI1)); } else if (!sddf_strcmp(pd_name, SERIAL_VIRT_TX_NAME)) { serial_queue_init(cli_queue_handle, (serial_queue_t *) cli_queue, SERIAL_TX_DATA_REGION_SIZE_CLI0, (char *)cli_data);