Thread (7 messages) flat view 7 messages, 3 authors, 2024-03-13

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

From: Michael Ellerman <hidden>
Date: 2024-03-13 13:30:50

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help