diff options
author | Dan Williams <dan.j.williams@intel.com> | 2016-08-18 22:15:04 -0700 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2016-08-23 07:49:42 -0700 |
commit | c14a868a5a14f385059f012e54291de95a538a02 (patch) | |
tree | 8a084782e9a79def7bc9d4a95ea4f6e7fb369cbd /tools/cgroup | |
parent | c09f12186d6b03b798832d95289af76495990192 (diff) | |
download | linux-c14a868a5a14f385059f012e54291de95a538a02.tar.gz linux-c14a868a5a14f385059f012e54291de95a538a02.tar.bz2 linux-c14a868a5a14f385059f012e54291de95a538a02.zip |
tools/testing/nvdimm: unit test for acpi_nfit_notify()
We have had a couple bugs in this implementation in the past and before
we add another ->notify() implementation for nvdimm devices, lets allow
this routine to be exercised via nfit_test.
Rewrite acpi_nfit_notify() in terms of a generic struct device and
acpi_handle parameter, and then implement a mock acpi_evaluate_object()
that returns a _FIT payload.
Cc: Vishal Verma <vishal.l.verma@intel.com>
Reviewed-by: Vishal Verma <vishal.l.verma@intel.com>
Acked-by: Rafael J. Wysocki <rafael@kernel.org>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'tools/cgroup')
0 files changed, 0 insertions, 0 deletions