]> Git Repo - linux.git/commit - drivers/scsi/xen-scsifront.c
scsi: xen-scsifront: add error handling for xenbus_printf
authorZhouyang Jia <[email protected]>
Fri, 15 Jun 2018 17:05:01 +0000 (01:05 +0800)
committerJuergen Gross <[email protected]>
Tue, 19 Jun 2018 12:54:41 +0000 (14:54 +0200)
commit93efbd39870474cc536b9caf4a6efeb03b0bc56f
treec9ee00ffa086ac4111448d349a646363779834aa
parent6e3cc2a6e259f49f5817d1561109832eff90f8e4
scsi: xen-scsifront: add error handling for xenbus_printf

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 <[email protected]>
Reviewed-by: Juergen Gross <[email protected]>
Signed-off-by: Juergen Gross <[email protected]>
drivers/scsi/xen-scsifront.c
This page took 0.060894 seconds and 4 git commands to generate.