diff options
author | Boris Brezillon <[email protected]> | 2019-01-02 15:36:53 +0100 |
---|---|---|
committer | Boris Brezillon <[email protected]> | 2019-01-07 14:06:22 +0100 |
commit | 19e16fb4f319b84b3220e98abf726218beba8c34 (patch) | |
tree | 5616fff2dbeaad693158661df45b56273c6ca28c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | bfeffd155283772bbe78c6a05dec7c0128ee500c (diff) |
mtd: Fix the check on nvmem_register() ret code
Commit 20167b70c894 ("nvmem: use EOPNOTSUPP instead of ENOSYS") changed
the nvmem_register() ret code from ENOSYS to EOPNOTSUPP when
CONFIG_NVMEM is not enabled, but the check in mtd_nvmem_add() was not
adjusted accordingly.
Cc: Bartosz Golaszewski <[email protected]>
Cc: Alban Bedel <[email protected]>
Fixes: c4dfa25ab307 ("mtd: add support for reading MTD devices via the nvmem API")
Reported-by: kernel test robot <[email protected]>
Signed-off-by: Boris Brezillon <[email protected]>
Reviewed-by: Bartosz Golaszewski <[email protected]>
Signed-off-by: Boris Brezillon <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions