From 667639b591a117c29c05823eff50ceccaf178586 Mon Sep 17 00:00:00 2001 From: Binbin Wu Date: Thu, 5 Mar 2020 09:36:16 +0800 Subject: [PATCH] doc: fix a missing argument in the function description One argument is missing for the function ptirq_alloc_entry. This patch fixes the doc generation error. Tracked-On: #3882 Signed-off-by: Binbin Wu --- doc/developer-guides/hld/hv-dev-passthrough.rst | 2 +- hypervisor/include/common/ptdev.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/developer-guides/hld/hv-dev-passthrough.rst b/doc/developer-guides/hld/hv-dev-passthrough.rst index fe730abe0..8fe895668 100644 --- a/doc/developer-guides/hld/hv-dev-passthrough.rst +++ b/doc/developer-guides/hld/hv-dev-passthrough.rst @@ -141,7 +141,7 @@ interrupt to virtual interrupt or vice versa. The term VT-d interrupt-remapping remaps the interrupt index in the VT-d interrupt-remapping table to the physical interrupt vector after checking the external interrupt request is valid. Translation physical vector to virtual vector is still needed to be done by hypervisor, which is -also described in the below section :ref:`_interrupt-remapping`. +also described in the below section :ref:`interrupt-remapping`. MMIO Remapping ************** diff --git a/hypervisor/include/common/ptdev.h b/hypervisor/include/common/ptdev.h index a356497c2..18ade97b4 100644 --- a/hypervisor/include/common/ptdev.h +++ b/hypervisor/include/common/ptdev.h @@ -210,7 +210,7 @@ struct ptirq_remapping_info *ptirq_dequeue_softirq(uint16_t pcpu_id); * Appropriate number should be configured on different platforms. * * @param[in] vm acrn_vm that the entry allocated for. - * @param[in] interrupt type: PTDEV_INTR_MSI or PTDEV_INTR_INTX + * @param[in] intr_type interrupt type: PTDEV_INTR_MSI or PTDEV_INTR_INTX * * @retval NULL when \p the number of entries allocated is CONFIG_MAX_PT_IRQ_ENTRIES * @retval !NULL when \p the number of entries allocated is less than CONFIG_MAX_PT_IRQ_ENTRIES