diff options
author | Luis Chamberlain <[email protected]> | 2021-10-15 16:30:28 -0700 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2021-10-21 09:00:56 -0600 |
commit | 83b863f4a3f0de4ece7802d9121fed0c3e64145f (patch) | |
tree | 99d9ac2e4116126be4c22b10d20eb6226c5604ee /tools/perf/scripts/python/intel-pt-events.py | |
parent | 2e9e31bea01997450397d64da43b6675e0adb9e3 (diff) |
mtd: add add_disk() error handling
We never checked for errors on add_disk() as this function
returned void. Now that this is fixed, use the shiny new
error handling.
Acked-by: Miquel Raynal <[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