[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210310153751.17516-1-shuo.a.liu@intel.com>
Date: Wed, 10 Mar 2021 23:37:51 +0800
From: shuo.a.liu@...el.com
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc: linux-kernel@...r.kernel.org, lkp@...el.com,
Shuo Liu <shuo.a.liu@...el.com>
Subject: [PATCH] virt: acrn: Fix document of acrn_msi_inject()
From: Shuo Liu <shuo.a.liu@...el.com>
This fixes below sparse warning.
../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")
Reported-by: kernel test robot <lkp@...el.com>
Signed-off-by: Shuo Liu <shuo.a.liu@...el.com>
---
drivers/virt/acrn/vm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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
--
2.28.0
Powered by blists - more mailing lists