diff options
author | Zhouyang Jia <jiazhouyang09@gmail.com> | 2018-06-16 01:05:01 +0800 |
---|---|---|
committer | Juergen Gross <jgross@suse.com> | 2018-06-19 14:54:41 +0200 |
commit | 93efbd39870474cc536b9caf4a6efeb03b0bc56f (patch) | |
tree | c9ee00ffa086ac4111448d349a646363779834aa /drivers/xen/xen-scsiback.c | |
parent | xen/grant-table: Export gnttab_{alloc|free}_pages as GPL (diff) | |
download | linux-dev-93efbd39870474cc536b9caf4a6efeb03b0bc56f.tar.xz linux-dev-93efbd39870474cc536b9caf4a6efeb03b0bc56f.zip |
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 <jiazhouyang09@gmail.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
Signed-off-by: Juergen Gross <jgross@suse.com>
Diffstat (limited to 'drivers/xen/xen-scsiback.c')
0 files changed, 0 insertions, 0 deletions