[PATCH v2 3/6] tools/testing/nvdimm: fix return code for unimplemented commands

2015-07-11 Thread Dan Williams
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 ---

[PATCH v2 3/6] tools/testing/nvdimm: fix return code for unimplemented commands

2015-07-11 Thread Dan Williams
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.willi...@intel.com