Thread (1 message) 1 message, 1 author, 2020-12-07

Re: [PATCH] vhost scsi: fix error return code in vhost_scsi_set_endpoint()

flat view

From: Stefan Hajnoczi <hidden>
Date: 2020-12-07 16:08:37
Also in: kvm, lkml, netdev

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 <redacted>
Signed-off-by: Zhang Changzhong <redacted>
---
 drivers/vhost/scsi.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Acked-by: Stefan Hajnoczi <stefanha@redhat.com>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help