summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorWentao Liang <vulab@iscas.ac.cn>2025-03-03 17:52:23 +0300
committerMiquel Raynal <miquel.raynal@bootlin.com>2025-03-04 14:07:30 +0300
commit2a6a44555f0727070643fdde7ffac6571e41327a (patch)
treee8a21adb4a242cb46dcc1e3bb9233259044458d5 /tools/perf/scripts/python/task-analyzer.py
parent6697dae1e2da89f8f9fa775132f8eac77cea5f7e (diff)
downloadlinux-2a6a44555f0727070643fdde7ffac6571e41327a.tar.xz
mtd: Fix error handling in mtd_device_parse_register() error path
Check and log del_mtd_device() failures. Print an error message with pr_err() to prevent silent failures, but preserve the original error code instead of propagating the secondary error since del_mtd_device() is already in an error handling path. Signed-off-by: Wentao Liang <vulab@iscas.ac.cn> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions