virt: acrn: Fix document of acrn_msi_inject()
PATCH 1/1 virt: acrn: Fix document of acrn_msi_inject()
From: Shuo Liu <[email protected]>
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
--- drivers/virt/acrn/vm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/virt/acrn/vm.c +1 -1
@@ -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
Signature · 1 line
2.28.0
Quoted 6 lines · On Wed, Mar 10, 2021 at 11:37:51PM +0800, [email protected] wrote:
From: Shuo Liu <[email protected]>
This fixes below sparse warning.
../drivers/virt/acrn/vm.c:105: warning: expecting prototype foracrn_inject_msi(). Prototype was foracrn_msi_inject()instead
That is not a warning from sparse :(
Quoted 10 lines · Greg Kroah-Hartman
Quoted 6 lines · On Wed, Mar 10, 2021 at 11:37:51PM +0800, [email protected] wrote:
From: Shuo Liu <[email protected]>
This fixes below sparse warning.
../drivers/virt/acrn/vm.c:105: warning: expecting prototype foracrn_inject_msi(). Prototype was foracrn_msi_inject()insteadThat is not a warning from sparse :(
Oh. You are right. I was fixing another sparse warning and did
make O=out -j24 W=1 C=1
to reproduce that warning.
It misled me that this warning coming out with sparse too.
Let me re-send the patch.
Thanks
shuo