diff mbox

[ndctl] ndctl: update minimum kernel for ARS tests

Message ID 20160329222320.31212.67532.stgit@dwillia2-desk3.jf.intel.com (mailing list archive)
State Accepted
Commit 5b0d6be767d8
Headers show

Commit Message

Dan Williams March 29, 2016, 10:23 p.m. UTC
In 4.6 the kernel is updated to the new ACPI 6.1 definition of the ARS
command set.  The unit test for ARS commands expects these latest
definitions, so disable this test by default on older kernels.

Signed-off-by: Dan Williams <dan.j.williams@intel.com>
---
 test/libndctl.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/test/libndctl.c b/test/libndctl.c
index 2dd1eb6fcb0a..0cab89208867 100644
--- a/test/libndctl.c
+++ b/test/libndctl.c
@@ -1847,7 +1847,7 @@  static int check_commands(struct ndctl_bus *bus, struct ndctl_dimm *dimm,
 	if (rc)
 		goto out;
 
-	if (!ndctl_test_attempt(test, KERNEL_VERSION(4, 3, 0)))
+	if (!ndctl_test_attempt(test, KERNEL_VERSION(4, 6, 0)))
 		goto out;
 
 	/* Check Bus commands */