diff options
author | Dan Williams <dan.j.williams@intel.com> | 2015-07-10 19:06:12 +0200 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2015-07-10 19:50:50 +0200 |
commit | f7ec83684af020c961d7fab801f8e3ef7ce5de33 (patch) | |
tree | 23abc99f7955762e0924d7d9cea83f20bb0cb706 /lib/idr.c | |
parent | tools/testing/nvdimm: mock ioremap_wt (diff) | |
download | linux-f7ec83684af020c961d7fab801f8e3ef7ce5de33.tar.xz linux-f7ec83684af020c961d7fab801f8e3ef7ce5de33.zip |
tools/testing/nvdimm: fix return code for unimplemented commands
The implementation for the new "DIMM Flags" DSM relies on the -ENOTTY
return code to indicate that the flags are unimplimented and to fall
back to a safe default. As is the -ENXIO error code erroneoously
indicates to fail enabling a BLK region.
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'lib/idr.c')
0 files changed, 0 insertions, 0 deletions