Skip to contentSkip to conversation

testing: nvdimm: asm/mce.h is not needed in nfit.c

PATCH In review Michal Suchanek 2 participants 2 messages Apr 29, 2022 libnvdimm: non-volatile memory device

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 testing: nvdimm: asm/mce.h is not needed in nfit.c

asm/mce.h is not available on arm, and it is not needed to build nfit.c. Remove the include.

It was likely needed for COPY_MC_TEST

Fixes 3adb776384f2 ("x86, libnvdimm/test: Remove COPY_MC_TEST")
---
 tools/testing/nvdimm/test/nfit.c | 2 --
 1 file changed, 2 deletions(-)
tools/testing/nvdimm/test/nfit.c +0 -2
index 0bc91ffee257..b4743ba65b96 100644
@@ -23,8 +23,6 @@
 #include "nfit_test.h"
 #include "../watermark.h"
 
-#include <asm/mce.h>
-
 /*
  * Generate an NFIT table to describe the following topology:
  *
Signature · 1 line
2.34.1
#1 lore raw
Quoted 8 lines · Michal Suchanek

asm/mce.h is not available on arm, and it is not needed to build nfit.c. Remove the include.

It was likely needed for COPY_MC_TEST

Fixes 3adb776384f2 ("x86, libnvdimm/test: Remove COPY_MC_TEST")

Yup, good catch, applied.