Re: [linux-next] Build failure drivers/cxl/cxl_pmem (powerpc)

2022-07-29 Thread Dan Williams
Michael Ellerman wrote: > Sachin Sant writes: > > Linux-next (5.19.0-rc8-next-20220728) fails to build on powerpc with > > following error: > > > > ERROR: modpost: "memory_add_physaddr_to_nid" [drivers/cxl/cxl_pmem.ko] > > undefined! > > make[1]: *** [scripts/Makefile.modpost:128:

Re: [linux-next] Build failure drivers/cxl/cxl_pmem (powerpc)

2022-07-29 Thread Sachin Sant
> From 8ca5b098b6ff1048953be748dbffc987996e2605 Mon Sep 17 00:00:00 2001 > From: Michael Ellerman > Date: Fri, 29 Jul 2022 16:13:55 +1000 > Subject: [PATCH] powerpc/mm: Export memory_add_physaddr_to_nid() for modules > > The cxl_pmem module wants to call memory_add_physaddr_to_nid(), so >

Re: [linux-next] Build failure drivers/cxl/cxl_pmem (powerpc)

2022-07-29 Thread Michael Ellerman
Sachin Sant writes: > Linux-next (5.19.0-rc8-next-20220728) fails to build on powerpc with > following error: > > ERROR: modpost: "memory_add_physaddr_to_nid" [drivers/cxl/cxl_pmem.ko] > undefined! > make[1]: *** [scripts/Makefile.modpost:128: modules-only.symvers] Error 1 > > The code in