diff options
| author | Luis Chamberlain <mcgrof@kernel.org> | 2021-09-27 15:02:54 -0700 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2021-10-18 14:41:37 -0600 |
| commit | a2379420c7d7cb14a8b214fc7c0e2f55f66393ac (patch) | |
| tree | cc6e6287a8d5d080603270539d165b30f4ada04f /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | floppy: add error handling support for add_disk() (diff) | |
| download | linux-a2379420c7d7cb14a8b214fc7c0e2f55f66393ac.tar.gz linux-a2379420c7d7cb14a8b214fc7c0e2f55f66393ac.zip | |
amiflop: 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. The caller for fd_alloc_disk() deals with
the rest of the cleanup like the tag.
Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
Link: https://lore.kernel.org/r/20210927220302.1073499-7-mcgrof@kernel.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions
