All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] testing: nvdimm: asm/mce.h is not needed in nfit.c
@ 2022-04-29  7:43 Michal Suchanek
  2022-04-29 18:57 ` Dan Williams
  0 siblings, 1 reply; 2+ messages in thread
From: Michal Suchanek @ 2022-04-29  7:43 UTC (permalink / raw)
  To: nvdimm
  Cc: Michal Suchanek, Dan Williams, Vishal Verma, Dave Jiang,
	Ira Weiny, Dave Hansen, Jeff Moyer, Jane Chu, Borislav Petkov,
	linux-kernel

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")
Signed-off-by: Michal Suchanek <msuchanek@suse.de>
---
 tools/testing/nvdimm/test/nfit.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/tools/testing/nvdimm/test/nfit.c b/tools/testing/nvdimm/test/nfit.c
index 0bc91ffee257..b4743ba65b96 100644
--- a/tools/testing/nvdimm/test/nfit.c
+++ b/tools/testing/nvdimm/test/nfit.c
@@ -23,8 +23,6 @@
 #include "nfit_test.h"
 #include "../watermark.h"
 
-#include <asm/mce.h>
-
 /*
  * Generate an NFIT table to describe the following topology:
  *
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] testing: nvdimm: asm/mce.h is not needed in nfit.c
  2022-04-29  7:43 [PATCH] testing: nvdimm: asm/mce.h is not needed in nfit.c Michal Suchanek
@ 2022-04-29 18:57 ` Dan Williams
  0 siblings, 0 replies; 2+ messages in thread
From: Dan Williams @ 2022-04-29 18:57 UTC (permalink / raw)
  To: Michal Suchanek
  Cc: Linux NVDIMM, Vishal Verma, Dave Jiang, Ira Weiny, Dave Hansen,
	Jeff Moyer, Jane Chu, Borislav Petkov, Linux Kernel Mailing List

On Fri, Apr 29, 2022 at 12:43 AM Michal Suchanek <msuchanek@suse.de> wrote:
>
> 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")
> Signed-off-by: Michal Suchanek <msuchanek@suse.de>

Yup, good catch, applied.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-04-29 18:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-29  7:43 [PATCH] testing: nvdimm: asm/mce.h is not needed in nfit.c Michal Suchanek
2022-04-29 18:57 ` Dan Williams

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.