aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorLuis Chamberlain <[email protected]>2021-11-03 16:04:29 -0700
committerJens Axboe <[email protected]>2021-11-04 05:48:50 -0600
commit5a192ccc32e2981f721343c750b8cfb4c3f41007 (patch)
treee1fbde99aea2d1af47f1dd33368625dd5890a34e /tools/perf/util/trace-event-scripting.c
parentaccf58afb689f81daadde24080ea1164ad2db75f (diff)
nvdimm/pmem: use add_disk() error handling
Now that device_add_disk() supports returning an error, use that. We must unwind alloc_dax() on error. Reviewed-by: Christoph Hellwig <[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/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions