]> git.baikalelectronics.ru Git - kernel.git/commit
testing: nvdimm: iomap: make __nfit_test_ioremap a macro
authorMichal Suchanek <msuchanek@suse.de>
Fri, 29 Apr 2022 13:40:39 +0000 (15:40 +0200)
committerDan Williams <dan.j.williams@intel.com>
Fri, 29 Apr 2022 17:59:39 +0000 (10:59 -0700)
commitfbb827630dc85d7b6698b28b4f161f3527cc23a8
tree85ad695fe76ec2188dc41717e4b6a2f52d00b941
parentcce43a94f7d407784541a305de91111751e60d0e
testing: nvdimm: iomap: make __nfit_test_ioremap a macro

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 <msuchanek@suse.de>
Fixes: 2cc32e2b5c74 ("tools/testing/nvdimm: libnvdimm unit test infrastructure")
Link: https://lore.kernel.org/r/20220429134039.18252-1-msuchanek@suse.de
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
tools/testing/nvdimm/test/iomap.c