Skip to contentSkip to conversation

s390: fix build failure

PATCH In review Sudip Mukherjee 2 participants 2 messages Dec 22, 2015 s390

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 s390: fix build failure

s390 defconfig fails with the error:
ERROR: "phys_to_pfn_t" [drivers/s390/block/dcssblk.ko] undefined!

We need CONFIG_HAS_IOMEM for phys_to_pfn_t() and for that we need to have CONFIG_PCI.

Fixes bfac97e7b361 ("mm, dax, pmem: introduce pfn_t")
Cc Dan Williams <[email protected]>
Cc Andrew Morton <[email protected]>

---

s390 defconfig with next-20151222 is at:
https://travis-ci.org/sudipm-mukherjee/parport/jobs/98258271

 arch/s390/defconfig | 1 +
 1 file changed, 1 insertion(+)
arch/s390/defconfig +1 -0
index 9256b48..e56b6df 100644
@@ -207,3 +207,4 @@ CONFIG_CRC7=m
 # CONFIG_XZ_DEC_ARMTHUMB is not set
 # CONFIG_XZ_DEC_SPARC is not set
 CONFIG_CMM=m
+CONFIG_PCI=y
Signature · 1 line
1.9.1
#1 lore raw
Quoted 11 lines · Sudip Mukherjee

s390 defconfig fails with the error:
ERROR: "phys_to_pfn_t" [drivers/s390/block/dcssblk.ko] undefined!

We need CONFIG_HAS_IOMEM for phys_to_pfn_t() and for that we need to have CONFIG_PCI.

Fixes bfac97e7b361 ("mm, dax, pmem: introduce pfn_t")
Cc Dan Williams <[email protected]>
Cc Andrew Morton <[email protected]>

---

Hi, I fixed this build breakage in v4 of the patch series that introduces phys_to_pfn_t() [1]. Chnaging the config is not correct the HAS_IOMEM dependency for the symbol needs to be satisfied.

[1]: https://lists.01.org/pipermail/linux-nvdimm/2015-December/003610.html