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
..
2016-01-15 22:22:05 +01:00
2016-01-22 17:02:18 -08:00
2015-03-26 21:34:51 +01:00
2015-07-08 02:27:32 +02:00
2016-01-07 14:11:55 +01:00
2014-09-08 15:38:41 +02:00
2015-12-28 01:29:41 +01:00
2014-08-06 20:34:19 -07:00
2015-07-08 02:27:32 +02:00
2015-01-29 21:02:10 +08:00
2016-02-03 01:08:22 +01:00
2015-07-08 02:27:32 +02:00
2015-10-26 04:42:54 +01:00
2015-11-07 01:29:22 +01:00
2016-01-04 22:10:30 +01:00
2015-10-12 23:08:03 +02:00
2016-01-15 22:10:43 +01:00
2015-07-08 02:27:32 +02:00
2014-03-19 01:57:46 +01:00
2013-08-22 08:34:39 -07:00
2015-07-08 02:27:32 +02:00
2016-01-12 01:10:03 +01:00
2015-07-08 02:27:32 +02:00
2015-07-08 02:27:32 +02:00
2015-07-08 02:27:32 +02:00
2015-11-20 01:22:10 +01:00
2013-12-07 01:03:14 +01:00
2015-08-07 02:55:18 +02:00
2016-01-08 01:12:06 +01:00
2016-01-08 01:01:41 +01:00
2015-07-08 02:27:32 +02:00
2015-10-04 11:36:07 +01:00
2015-11-16 23:29:44 +01:00
2015-01-18 01:03:45 -05:00
2016-01-15 22:00:08 +01:00
2015-11-07 01:30:10 +01:00
2016-01-01 03:20:25 +01:00
2015-07-08 02:27:32 +02:00
2015-09-15 03:05:45 +02:00
2016-01-04 22:25:12 +01:00
2015-02-05 15:09:26 +01:00
2015-12-15 00:17:44 +01:00
2016-01-12 01:10:19 +01:00
2016-03-05 12:24:06 -08:00
2016-03-05 12:24:06 -08:00
2015-07-08 02:27:32 +02:00
2014-05-27 18:13:08 +02:00
2016-01-12 01:10:03 +01:00
2016-02-27 08:52:20 -06:00
2016-02-24 13:55:38 +01:00
2015-12-02 02:30:15 +01:00
2015-07-08 02:27:32 +02:00
2015-09-01 03:38:43 +02:00
2015-09-15 03:03:15 +02:00
2015-05-13 23:28:16 +02:00
2015-12-21 03:41:49 +01:00
2015-07-08 02:27:32 +02:00
2015-05-13 23:28:14 +02:00
2015-09-01 15:52:35 +02:00
2015-07-08 02:27:32 +02:00
2015-07-08 02:27:32 +02:00
2015-12-07 02:29:23 +01:00
2012-04-20 11:19:35 -07:00
2016-01-01 03:20:25 +01:00
2016-01-04 22:14:27 +01:00
2015-11-16 23:26:45 +01:00
2015-12-09 01:31:41 +01:00
2016-01-04 22:05:20 +01:00
2016-01-04 22:05:20 +01:00
2015-10-26 04:57:27 +01:00
2015-10-15 01:31:24 +02:00
2015-10-10 11:32:30 +08:00
2015-12-09 01:31:41 +01:00
2016-01-23 03:04:59 +01:00
2013-12-07 01:03:14 +01:00