linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2] virt: acrn: Fix document of acrn_msi_inject()
@ 2021-03-10 16:05 Shuo Liu
  2021-03-10 17:27 ` Greg Kroah-Hartman
  0 siblings, 1 reply; 3+ messages in thread
From: Shuo Liu @ 2021-03-10 16:05 UTC (permalink / raw)
  To: Greg Kroah-Hartman; +Cc: linux-kernel, 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

Fixes: c7cf8d27244f ("virt: acrn: Introduce interrupt injection interfaces")
Signed-off-by: Shuo Liu <shuo.a.liu@intel.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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH v2] virt: acrn: Fix document of acrn_msi_inject()
  2021-03-10 16:05 [PATCH v2] virt: acrn: Fix document of acrn_msi_inject() Shuo Liu
@ 2021-03-10 17:27 ` Greg Kroah-Hartman
  2021-03-11  1:54   ` Shuo A Liu
  0 siblings, 1 reply; 3+ messages in thread
From: Greg Kroah-Hartman @ 2021-03-10 17:27 UTC (permalink / raw)
  To: Shuo Liu; +Cc: linux-kernel

On Thu, Mar 11, 2021 at 12:05:38AM +0800, Shuo Liu wrote:
> 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH v2] virt: acrn: Fix document of acrn_msi_inject()
  2021-03-10 17:27 ` Greg Kroah-Hartman
@ 2021-03-11  1:54   ` Shuo A Liu
  0 siblings, 0 replies; 3+ messages in thread
From: Shuo A Liu @ 2021-03-11  1:54 UTC (permalink / raw)
  To: Greg Kroah-Hartman; +Cc: linux-kernel

On Wed 10.Mar'21 at 18:27:53 +0100, Greg Kroah-Hartman wrote:
>On Thu, Mar 11, 2021 at 12:05:38AM +0800, Shuo Liu wrote:
>> 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-03-11  1:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-10 16:05 [PATCH v2] virt: acrn: Fix document of acrn_msi_inject() Shuo Liu
2021-03-10 17:27 ` Greg Kroah-Hartman
2021-03-11  1:54   ` Shuo A Liu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).