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:

[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