diff options
author | Zhouyang Jia <jiazhouyang09@gmail.com> | 2018-06-15 07:34:52 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-08-24 13:12:29 +0200 |
commit | 10a4d81876f31c72201a05f23dbce28de64e86cd (patch) | |
tree | 285857808719ec6d2608bcb366778c2a59623d67 /drivers/scsi/xen-scsifront.c | |
parent | 44af104eabf9ef43179c55478b3e160770e7dec1 (diff) |
xen: add error handling for xenbus_printf
[ Upstream commit 84c029a73327cef571eaa61c7d6e67e8031b52ec ]
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: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Signed-off-by: Juergen Gross <jgross@suse.com>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/scsi/xen-scsifront.c')
0 files changed, 0 insertions, 0 deletions