diff options
author | Zhouyang Jia <jiazhouyang09@gmail.com> | 2018-06-16 02:14:37 +0200 |
---|---|---|
committer | Juergen Gross <jgross@suse.com> | 2018-06-19 14:54:49 +0200 |
commit | 7c63ca24c878e0051c91904b72174029320ef4bd (patch) | |
tree | 682bc15c1230921719e5480301f82adae381c9cf /drivers/xen/privcmd.h | |
parent | scsi: xen-scsifront: add error handling for xenbus_printf (diff) | |
download | linux-7c63ca24c878e0051c91904b72174029320ef4bd.tar.xz linux-7c63ca24c878e0051c91904b72174029320ef4bd.zip |
xen/scsiback: 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/privcmd.h')
0 files changed, 0 insertions, 0 deletions