diff options
| author | ZhaoLong Wang <[email protected]> | 2023-09-26 14:57:33 +0800 |
|---|---|---|
| committer | Miquel Raynal <[email protected]> | 2023-10-16 10:50:28 +0200 |
| commit | 0339f62a9a778bb7cd4f764cd4640cc89155177e (patch) | |
| tree | c97c521eeced18bbbc59ffc313b3b115157fa577 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 3cff177fc2793a362d784c912f536e69a755925e (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 <[email protected]>
Signed-off-by: Miquel Raynal <[email protected]>
Link: https://lore.kernel.org/linux-mtd/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions