Re: [Xen-devel] [PATCH] scsi: xen-scsifront: add error handling for xenbus_printf

2018-06-14 Thread Zhouyang Jia
Hi, Sorry for the mistakes, I'll fix this in v2. Best, Zhouyang 2018-06-13 18:09 GMT+08:00 Finn Thain : > On Tue, 12 Jun 2018, Zhouyang Jia wrote: > > > When xenbus_printf fails, the lack of error-handling code may > > cause unexpected results. > > > > This patch adds error-handling code after

Re: [Xen-devel] [PATCH] scsi: xen-scsifront: add error handling for xenbus_printf

2018-06-13 Thread Finn Thain
On Tue, 12 Jun 2018, Zhouyang Jia wrote: > When xenbus_printf fails, the lack of error-handling code may > cause unexpected results. > > This patch adds error-handling code after calling xenbus_printf. > > Signed-off-by: Zhouyang Jia > --- > drivers/scsi/xen-scsifront.c | 31 ++

[Xen-devel] [PATCH] scsi: xen-scsifront: add error handling for xenbus_printf

2018-06-11 Thread Zhouyang Jia
When xenbus_printf fails, the lack of error-handling code may cause unexpected results. This patch adds error-handling code after calling xenbus_printf. Signed-off-by: Zhouyang Jia --- drivers/scsi/xen-scsifront.c | 31 --- 1 file changed, 24 insertions(+), 7 deletio