Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'libnvdimm-fix-5.5-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm

Pull libnvdimm fix from Dan Williams:
"A minor regression fix.

The libnvdimm unit tests were expecting to mock calls to
ioremap_nocache() which disappeared in v5.5-rc1. This fix has appeared
in -next and collided with some cleanups that Christoph has planned
for v5.6, but he will fix up his branch once this goes in.

Summary:

- Restore the operation of the libnvdimm unit tests after the removal
of ioremap_nocache()"

* tag 'libnvdimm-fix-5.5-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm:
tools/testing/nvdimm: Fix mock support for ioremap

+7
+1
tools/testing/nvdimm/Kbuild
··· 5 5 ldflags-y += --wrap=devm_memremap 6 6 ldflags-y += --wrap=devm_memunmap 7 7 ldflags-y += --wrap=ioremap_nocache 8 + ldflags-y += --wrap=ioremap 8 9 ldflags-y += --wrap=iounmap 9 10 ldflags-y += --wrap=memunmap 10 11 ldflags-y += --wrap=__devm_request_region
+6
tools/testing/nvdimm/test/iomap.c
··· 193 193 } 194 194 EXPORT_SYMBOL(__wrap_ioremap_nocache); 195 195 196 + void __iomem *__wrap_ioremap(resource_size_t offset, unsigned long size) 197 + { 198 + return __nfit_test_ioremap(offset, size, ioremap); 199 + } 200 + EXPORT_SYMBOL(__wrap_ioremap); 201 + 196 202 void __iomem *__wrap_ioremap_wc(resource_size_t offset, unsigned long size) 197 203 { 198 204 return __nfit_test_ioremap(offset, size, ioremap_wc);