Re: [PATCH 04/17] vhost: prep vhost_dev_init users to handle failures

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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<michael.christie@xxxxxxxxxx>
---
  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 <jasowang@xxxxxxxxxx>





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux