summaryrefslogtreecommitdiff
path: root/drivers/virt
diff options
context:
space:
mode:
authorShuo Liu <shuo.a.liu@intel.com>2021-03-11 09:52:06 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-03-24 08:26:30 +0100
commit1c15b334ca34dd22a19e1c595908fc860523be64 (patch)
tree8eed551b3bf13dd649d88030e0910bb6447d41ca /drivers/virt
parent615d2ef05a97be05c12cbb50f5fce0b8e094d66c (diff)
virt: acrn: Fix document of acrn_msi_inject()
This fixes below build warning with extra build checks. $ make W=1 ../drivers/virt/acrn/vm.c:105: warning: expecting prototype for acrn_inject_msi(). Prototype was for acrn_msi_inject() instead Fixes: c7cf8d27244f ("virt: acrn: Introduce interrupt injection interfaces") Signed-off-by: Shuo Liu <shuo.a.liu@intel.com> Link: https://lore.kernel.org/r/20210311015206.19715-1-shuo.a.liu@intel.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/virt')
-rw-r--r--drivers/virt/acrn/vm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/virt/acrn/vm.c b/drivers/virt/acrn/vm.c
index 7804a2492ad7..0d002a355a93 100644
--- a/drivers/virt/acrn/vm.c
+++ b/drivers/virt/acrn/vm.c
@@ -94,7 +94,7 @@ int acrn_vm_destroy(struct acrn_vm *vm)
}
/**
- * acrn_inject_msi() - Inject a MSI interrupt into a User VM
+ * acrn_msi_inject() - Inject a MSI interrupt into a User VM
* @vm: User VM
* @msi_addr: The MSI address
* @msi_data: The MSI data