1
0
Fork 0
alistair23-linux/tools/testing/nvdimm/test
Dan Williams aef2533822 libnvdimm, nfit: centralize command status translation
The return value from an 'ndctl_fn' reports the command execution
status, i.e. was the command properly formatted and was it successfully
submitted to the bus provider.  The new 'cmd_rc' parameter allows the bus
provider to communicate command specific results, translated into
common error codes.

Convert the ARS commands to this scheme to:

1/ Consolidate status reporting

2/ Prepare for for expanding ars unit test cases

3/ Make the implementation more generic

Cc: Vishal Verma <vishal.l.verma@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
2016-03-05 12:24:06 -08:00
..
Kbuild tools/testing/nvdimm: libnvdimm unit test infrastructure 2015-06-26 11:23:38 -04:00
iomap.c phys_to_pfn_t: use phys_addr_t 2016-01-31 09:10:19 -08:00
nfit.c libnvdimm, nfit: centralize command status translation 2016-03-05 12:24:06 -08:00
nfit_test.h tools/testing/nvdimm: libnvdimm unit test infrastructure 2015-06-26 11:23:38 -04:00