summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorWentao Liang <vulab@iscas.ac.cn>2025-03-03 22:52:23 +0800
committerMiquel Raynal <miquel.raynal@bootlin.com>2025-03-04 12:07:30 +0100
commit2a6a44555f0727070643fdde7ffac6571e41327a (patch)
treee8a21adb4a242cb46dcc1e3bb9233259044458d5 /tools/perf/scripts/python/export-to-sqlite.py
parent6697dae1e2da89f8f9fa775132f8eac77cea5f7e (diff)
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/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions