On Sun, 12 Jan 2025 19:24:46 +0100, Christophe Leroy wrote: > Rewrite __real_pte() and __rpte_to_hidx() as static inline in order to > avoid following warnings/errors when building with 4k page size: > > CC arch/powerpc/mm/book3s64/hash_tlb.o > arch/powerpc/mm/book3s64/hash_tlb.c: In function 'hpte_need_flush': > arch/powerpc/mm/book3s64/hash_tlb.c:49:16: error: variable 'offset' set > but not used [-Werror=unused-but-set-variable] > 49 | int i, offset; > | ^~~~~~ > > [...]
Applied to powerpc/fixes. [1/1] powerpc/64s: Rewrite __real_pte() and __rpte_to_hidx() as static inline https://git.kernel.org/powerpc/c/61bcc752d1b81fde3cae454ff20c1d3c359df500 Thanks