(subset) [PATCH 1/3] powerpc/64s: Fix get_hugepd_cache_index() build failure

Michael Ellerman patch-notifications at ellerman.id.au
Thu Mar 14 00:19:43 AEDT 2024


On Wed, 06 Mar 2024 23:58:51 +1100, Michael Ellerman wrote:
> With CONFIG_BUG=n, the 64-bit Book3S build fails with:
> 
>   arch/powerpc/include/asm/book3s/64/pgtable-64k.h: In function 'get_hugepd_cache_index':
>   arch/powerpc/include/asm/book3s/64/pgtable-64k.h:51:1: error: no return statement in function returning non-void
> 
> Currently the body of the function is just BUG(), so when CONFIG_BUG=n
> it is an empty function, leading to the error.
> 
> [...]

Patches 1 & 2 applied to powerpc/next.

[1/3] powerpc/64s: Fix get_hugepd_cache_index() build failure
      https://git.kernel.org/powerpc/c/329105ce53437ff64b29f6c429dfe5dc2aa7b676
[2/3] powerpc/83xx: Fix build failure with FPU=n
      https://git.kernel.org/powerpc/c/c2e5d70cf05b48bfbd5b6625bbd0ec3052cecd5d

cheers


More information about the Linuxppc-dev mailing list