Stefan Hajnoczi
2020-Dec-07 16:07 UTC
[PATCH] vhost scsi: fix error return code in vhost_scsi_set_endpoint()
On Fri, Dec 04, 2020 at 04:43:30PM +0800, Zhang Changzhong wrote:> Fix to return a negative error code from the error handling > case instead of 0, as done elsewhere in this function. > > Fixes: 25b98b64e284 ("vhost scsi: alloc cmds per vq instead of session") > Reported-by: Hulk Robot <hulkci at huawei.com> > Signed-off-by: Zhang Changzhong <zhangchangzhong at huawei.com> > --- > drivers/vhost/scsi.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-)Acked-by: Stefan Hajnoczi <stefanha at redhat.com> -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 488 bytes Desc: not available URL: <http://lists.linuxfoundation.org/pipermail/virtualization/attachments/20201207/f1e42391/attachment.sig>