summaryrefslogtreecommitdiffstats
path: root/lib/idr.c
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2015-07-10 19:06:12 +0200
committerDan Williams <dan.j.williams@intel.com>2015-07-10 19:50:50 +0200
commitf7ec83684af020c961d7fab801f8e3ef7ce5de33 (patch)
tree23abc99f7955762e0924d7d9cea83f20bb0cb706 /lib/idr.c
parenttools/testing/nvdimm: mock ioremap_wt (diff)
downloadlinux-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