aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorLuis Chamberlain <[email protected]>2021-08-30 14:25:34 -0700
committerUlf Hansson <[email protected]>2021-10-12 10:21:16 +0200
commit9c1aaec47527816877befb7f18ea1cf25e55b8c8 (patch)
treec5079282877bac7c31d6e239a814dcd226b23218 /tools/perf/scripts/python/stackcollapse.py
parentd74179b86925165562aec81e0ba269ebc453dad2 (diff)
mmc: block: 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 only cleanups the disk if we pass on an allocated md but on error we return return ERR_PTR(ret), and so we must do all the unwinding ourselves. Signed-off-by: Luis Chamberlain <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Ulf Hansson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions