diff mbox

[1/1] Fix nfit_test compilation error

Message ID CAJN_NGZMaOUwdrWKRLZw9dLFwDihczCgP=Qey8_1BJuVfS0Org@mail.gmail.com (mailing list archive)
State Superseded
Headers show

Commit Message

Dmitry Krivenok Nov. 13, 2015, 1:51 p.m. UTC
nfit_test wasn't changed in commit ca321d1c where "ARMED" was
renamed to "NOT_ARMED". Adding one more change to fix the build.

Signed-off-by: Dmitry V. Krivenok <krivenok.dmitry@gmail.com>
---
 tools/testing/nvdimm/test/nfit.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Dan Williams Nov. 13, 2015, 4:41 p.m. UTC | #1
On Fri, Nov 13, 2015 at 5:51 AM, Dmitry Krivenok
<krivenok.dmitry@gmail.com> wrote:
> nfit_test wasn't changed in commit ca321d1c where "ARMED" was
> renamed to "NOT_ARMED". Adding one more change to fix the build.
>
> Signed-off-by: Dmitry V. Krivenok <krivenok.dmitry@gmail.com>

Thanks, I have this queued up in a branch heading upstream shortly.
diff mbox

Patch

diff --git a/tools/testing/nvdimm/test/nfit.c b/tools/testing/nvdimm/test/nfit.c
index dce346a..40ab447 100644
--- a/tools/testing/nvdimm/test/nfit.c
+++ b/tools/testing/nvdimm/test/nfit.c
@@ -1135,7 +1135,7 @@  static void nfit_test1_setup(struct nfit_test *t)
        memdev->interleave_ways = 1;
        memdev->flags = ACPI_NFIT_MEM_SAVE_FAILED | ACPI_NFIT_MEM_RESTORE_FAILED
                | ACPI_NFIT_MEM_FLUSH_FAILED | ACPI_NFIT_MEM_HEALTH_OBSERVED
-               | ACPI_NFIT_MEM_ARMED;
+               | ACPI_NFIT_MEM_NOT_ARMED;

        offset += sizeof(*memdev);
        /* dcr-descriptor0 */