On Sun, Jun 22, 2025 at 04:12:15PM -0700, Stefano Stabellini wrote: > On Sun, 22 Jun 2025, Koichiro Den wrote: > > The /reserved-memory node is inherently not specific to static-shmem. In > > the next commit, child nodes will be added under /reserved-memory for > > the stolen time shared memory regions. > > > > No functional changes intended. > > > > Signed-off-by: Koichiro Den <d...@valinux.co.jp> > > This causes a build failure when CONFIG_STATIC_SHM is missing. > > arch/arm/domain_build.c: In function ‘make_resv_memory_node’: > arch/arm/domain_build.c:1567:34: error: implicit declaration of function > ‘kernel_info_get_shm_mem_const’; did you mean ‘kernel_info_get_mem_const’? > [-Werror=implicit-function-declaration] > 1567 | const struct membanks *mem = kernel_info_get_shm_mem_const(kinfo); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > | kernel_info_get_mem_const > arch/arm/domain_build.c:1567:34: error: nested extern declaration of > ‘kernel_info_get_shm_mem_const’ [-Werror=nested-externs] > arch/arm/domain_build.c:1567:34: error: initialization of ‘const struct > membanks *’ from ‘int’ makes pointer from integer without a cast > [-Werror=int-conversion]
Thank you for pointing that out, I'll address this in v2. > ---(snip)---