Skip to content

Commit

Permalink
virt: acrn: Fix document of acrn_msi_inject()
Browse files Browse the repository at this point in the history
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: c7cf8d2 ("virt: acrn: Introduce interrupt injection interfaces")
Signed-off-by: Shuo Liu <shuo.a.liu@intel.com>
  • Loading branch information
Shuo Liu committed Jul 14, 2021
1 parent e481c3a commit 69b4726
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/virt/acrn/vm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 69b4726

Please sign in to comment.