Skip to contentSkip to conversation

virt: acrn: Fix document of acrn_msi_inject()

PATCH Superseded Shuo Liu 2 participants 3 messages Mar 10, 2021 – Mar 11, 2021 Acrn hypervisor service module

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore

Shuo Liu

author
#0 lore raw

PATCH v2 1/1 virt: acrn: Fix document of acrn_msi_inject()

This fixes below build 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")
---
 drivers/virt/acrn/vm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/virt/acrn/vm.c +1 -1
index 7804a2492ad7..0d002a355a93 100644
@@ -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
#1 lore raw
Quoted 4 lines · Shuo Liu

This fixes below build warning.

../drivers/virt/acrn/vm.c:105: warning: expecting prototype for acrn_inject_msi(). Prototype was for acrn_msi_inject() instead

That's not a "normal" build warning is it? the compiler isn't spitting it out...

Sorry to be a pain, but please be specific as to what is causing this to show up...

thanks,

greg k-h

author
#2 lore raw
Quoted 11 lines · Greg Kroah-Hartman
Quoted 4 lines · Shuo Liu

This fixes below build warning.

../drivers/virt/acrn/vm.c:105: warning: expecting prototype for acrn_inject_msi(). Prototype was for acrn_msi_inject() instead

That's not a "normal" build warning is it? the compiler isn't spitting it out...

Sorry to be a pain, but please be specific as to what is causing this to show up...

Sure. V3 is sent out.

Thanks
shuo