diff options
author | Luis Chamberlain <[email protected]> | 2021-10-15 16:30:26 -0700 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2021-10-21 09:00:56 -0600 |
commit | 66638f163a2b5c5b462ca38525129b14a20117eb (patch) | |
tree | c33f67a75cc13559fb6e69be98d50f1b2048ebcc /tools/perf/scripts/python/intel-pt-events.py | |
parent | 21fd880d3da7564bab68979417cab7408e4f9642 (diff) |
um/drivers/ubd_kern: add error handling support for add_disk()
We never checked for errors on add_disk() as this function
returned void. Now that this is fixed, use the shiny new
error handling.
ubd_disk_register() never returned an error, so just fix
that now and let the caller handle the error condition.
Reviewed-by: Gabriel Krisman Bertazi <[email protected]>
Signed-off-by: Luis Chamberlain <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions