* [PATCH] vhost: Remove the repeated declaration
@ 2021-05-24 12:04 Shaokun Zhang
2021-05-25 0:02 ` Jason Wang
0 siblings, 1 reply; 2+ messages in thread
From: Shaokun Zhang @ 2021-05-24 12:04 UTC (permalink / raw)
To: kvm, virtualization; +Cc: Shaokun Zhang, Michael S. Tsirkin, Jason Wang
Function 'vhost_vring_ioctl' is declared twice, remove the repeated
declaration.
Cc: "Michael S. Tsirkin" <mst@redhat.com>
Cc: Jason Wang <jasowang@redhat.com>
Signed-off-by: Shaokun Zhang <zhangshaokun@hisilicon.com>
---
drivers/vhost/vhost.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/vhost/vhost.h b/drivers/vhost/vhost.h
index b063324c7669..374f4795cb5a 100644
--- a/drivers/vhost/vhost.h
+++ b/drivers/vhost/vhost.h
@@ -47,7 +47,6 @@ void vhost_poll_stop(struct vhost_poll *poll);
void vhost_poll_flush(struct vhost_poll *poll);
void vhost_poll_queue(struct vhost_poll *poll);
void vhost_work_flush(struct vhost_dev *dev, struct vhost_work *work);
-long vhost_vring_ioctl(struct vhost_dev *d, unsigned int ioctl, void __user *argp);
struct vhost_log {
u64 addr;
--
2.7.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] vhost: Remove the repeated declaration
2021-05-24 12:04 [PATCH] vhost: Remove the repeated declaration Shaokun Zhang
@ 2021-05-25 0:02 ` Jason Wang
0 siblings, 0 replies; 2+ messages in thread
From: Jason Wang @ 2021-05-25 0:02 UTC (permalink / raw)
To: Shaokun Zhang, kvm, virtualization; +Cc: Michael S. Tsirkin
在 2021/5/24 下午8:04, Shaokun Zhang 写道:
> Function 'vhost_vring_ioctl' is declared twice, remove the repeated
> declaration.
>
> Cc: "Michael S. Tsirkin" <mst@redhat.com>
> Cc: Jason Wang <jasowang@redhat.com>
> Signed-off-by: Shaokun Zhang <zhangshaokun@hisilicon.com>
> ---
> drivers/vhost/vhost.h | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/vhost/vhost.h b/drivers/vhost/vhost.h
> index b063324c7669..374f4795cb5a 100644
> --- a/drivers/vhost/vhost.h
> +++ b/drivers/vhost/vhost.h
> @@ -47,7 +47,6 @@ void vhost_poll_stop(struct vhost_poll *poll);
> void vhost_poll_flush(struct vhost_poll *poll);
> void vhost_poll_queue(struct vhost_poll *poll);
> void vhost_work_flush(struct vhost_dev *dev, struct vhost_work *work);
> -long vhost_vring_ioctl(struct vhost_dev *d, unsigned int ioctl, void __user *argp);
>
> struct vhost_log {
> u64 addr;
Acked-by: Jason Wang <jasowang@redhat.com>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-05-25 0:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-24 12:04 [PATCH] vhost: Remove the repeated declaration Shaokun Zhang
2021-05-25 0:02 ` Jason Wang
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).