Re: [PATCH] testing: nvdimm: asm/mce.h is not needed in nfit.c

2022-04-29 Thread Dan Williams
On Fri, Apr 29, 2022 at 12:43 AM Michal Suchanek 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

Re: [PATCH] testing: nvdimm: iomap: make __nfit_test_ioremap a macro

2022-04-29 Thread Dan Williams
On Fri, Apr 29, 2022 at 6:41 AM Michal Suchanek wrote: > > The ioremap passed as argument to __nfit_test_ioremap can be a macro so > it cannot be passed as function argument. Make __nfit_test_ioremap into > a macro so that ioremap can be passed as untyped macro argument. > Looks reasonable to me

Re: [PATCH] testing: nvdimm: iomap: make __nfit_test_ioremap a macro

2022-04-29 Thread Michal Suchánek
On Fri, Apr 29, 2022 at 03:40:39PM +0200, Michal Suchanek wrote: > The ioremap passed as argument to __nfit_test_ioremap can be a macro so > it cannot be passed as function argument. Make __nfit_test_ioremap into > a macro so that ioremap can be passed as untyped macro argument. Fixes: 6bc756193ff

[PATCH] testing: nvdimm: iomap: make __nfit_test_ioremap a macro

2022-04-29 Thread Michal Suchanek
The ioremap passed as argument to __nfit_test_ioremap can be a macro so it cannot be passed as function argument. Make __nfit_test_ioremap into a macro so that ioremap can be passed as untyped macro argument. Signed-off-by: Michal Suchanek --- tools/testing/nvdimm/test/iomap.c | 18 -

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

2022-04-29 Thread 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") Signed-off-by: Michal Suchanek --- tools/testing/nvdimm/test/nfit.c | 2 -- 1 file changed, 2 delet