diff options
author | Xie Yongji <[email protected]> | 2021-08-31 18:36:27 +0800 |
---|---|---|
committer | Michael S. Tsirkin <[email protected]> | 2021-09-06 07:20:57 -0400 |
commit | 7f05630dc65d62df5d55ad3e1038ffbe5e2ce9c3 (patch) | |
tree | 5c55645b6fe1633bc708615340ae527cedb64f31 /tools/perf/util/trace-event-scripting.c | |
parent | 0686082dbf7a204ca0fab326a820779e31666639 (diff) |
vhost-vdpa: Handle the failure of vdpa_reset()
The vdpa_reset() may fail now. This adds check to its return
value and fail the vhost_vdpa_open().
Signed-off-by: Xie Yongji <[email protected]>
Acked-by: Jason Wang <[email protected]>
Reviewed-by: Stefano Garzarella <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Michael S. Tsirkin <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions