aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorZhaoLong Wang <wangzhaolong1@huawei.com>2023-09-26 14:57:33 +0800
committerMiquel Raynal <miquel.raynal@bootlin.com>2023-10-16 10:50:28 +0200
commit0339f62a9a778bb7cd4f764cd4640cc89155177e (patch)
treec97c521eeced18bbbc59ffc313b3b115157fa577 /tools/perf/scripts/python/export-to-sqlite.py
parent3cff177fc2793a362d784c912f536e69a755925e (diff)
mtd: Add WARN_ON_ONCE() to mtd_read() to check the return value
If the driver cannot read all the requested data, -EBADMSG or -EUCLEAN should never be returned. Add a WARN_ON_ONCE() to help driver developers detect this error. Signed-off-by: ZhaoLong Wang <wangzhaolong1@huawei.com> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Link: https://lore.kernel.org/linux-mtd/20230926065733.3240322-1-wangzhaolong1@huawei.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions