Re: [PATCH] MIPS: Restore symbol versions for copy_page_cpu and clear_page_cpu

From: Thomas Bogendoerfer
Date: Thu Dec 01 2022 - 05:58:14 EST


On Thu, Nov 24, 2022 at 01:58:16PM +0800, Genjian wrote:
> From: Genjian Zhang <zhanggenjian@xxxxxxxxxx>
>
> The mips build generates two warnings:
>
> WARNING: modpost: EXPORT symbol "clear_page_cpu" [vmlinux] version generation failed, symbol will not be versioned.
> WARNING: modpost: EXPORT symbol "copy_page_cpu" [vmlinux] version generation failed, symbol will not be versioned.
>
> Add their prototypes to be defined in asm-prototypes.h, so that
> genksyms knows the types of these symbols and can generate CRCs for
> them.
>
> Reported-by: k2ci <kernel-bot@xxxxxxxxxx>
> Signed-off-by: Genjian Zhang <zhanggenjian@xxxxxxxxxx>
> ---
> arch/mips/include/asm/asm-prototypes.h | 3 +++
> 1 file changed, 3 insertions(+)

applied to mips-next.

Thomas.

--
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea. [ RFC1925, 2.3 ]