On 2020/10/22 上午8:34, Mike Christie wrote:
This is just a prep patch to get vhost_dev_init callers ready to handle
the next patch where the function can fail. In this patch vhost_dev_init
just returns 0, but I think it's easier to check for goto/error handling
errors separated from the next patch.
Signed-off-by: Mike Christie<[email protected]>
---
drivers/vhost/net.c | 11 +++++++----
drivers/vhost/scsi.c | 7 +++++--
drivers/vhost/test.c | 9 +++++++--
drivers/vhost/vdpa.c | 7 +++++--
drivers/vhost/vhost.c | 14 ++++++++------
drivers/vhost/vhost.h | 10 +++++-----
drivers/vhost/vsock.c | 9 ++++++---
7 files changed, 43 insertions(+), 24 deletions(-)
Acked-by: Jason Wang <[email protected]>
_______________________________________________
Virtualization mailing list
[email protected]
https://lists.linuxfoundation.org/mailman/listinfo/virtualization