]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
tools/testing/nvdimm: unit test clear-error commands
authorDan Williams <dan.j.williams@intel.com>
Sun, 12 Nov 2017 22:54:23 +0000 (14:54 -0800)
committerDan Williams <dan.j.williams@intel.com>
Mon, 13 Nov 2017 23:28:41 +0000 (15:28 -0800)
commitfb2a1748355161e050e9f49f1ea9a0ae707a148b
treeca7614d5e78d61caedddbaa9735947a02982ecf9
parent0e7f0741450b1b800b3acfc2319e7f24e8a20fcf
tools/testing/nvdimm: unit test clear-error commands

Validate command parsing in acpi_nfit_ctl for the clear error command.
This tests for a crash condition introduced by commit 4b27db7e26cd
"acpi, nfit: add support for the _LSI, _LSR, and _LSW label methods".

Cc: Vishal Verma <vishal.l.verma@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
tools/testing/nvdimm/test/nfit.c