Re: [PATCH v2 1/7] sparc32: Use generic cmpdi2/ucmpdi2 variants

From: Andreas Larsson
Date: Fri Mar 08 2024 - 15:01:22 EST


On 2024-02-24 18:42, Sam Ravnborg via B4 Relay wrote:
> From: Sam Ravnborg <sam@xxxxxxxxxxxx>
>
> Use the generic variants - the implementation is the same.
> As a nice side-effect fix the following warnings:
>
> cmpdi2.c: warning: no previous prototype for '__cmpdi2' [-Wmissing-prototypes]
> ucmpdi2.c: warning: no previous prototype for '__ucmpdi2' [-Wmissing-prototypes]
>
> Signed-off-by: Sam Ravnborg <sam@xxxxxxxxxxxx>
> Fixes: 0fcb70851fbf ("Makefile.extrawarn: turn on missing-prototypes globally")
> Reviewed-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
> Tested-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx> # build-tested
> Reviewed-by: Maciej W. Rozycki <macro@xxxxxxxxxxx>
> Tested-by: Maciej W. Rozycki <macro@xxxxxxxxxxx> # build-tested
> Cc: "David S. Miller" <davem@xxxxxxxxxxxxx>
> Cc: Andreas Larsson <andreas@xxxxxxxxxxx>
> ---
> arch/sparc/Kconfig | 2 ++
> arch/sparc/lib/Makefile | 4 ++--
> arch/sparc/lib/cmpdi2.c | 28 ----------------------------
> arch/sparc/lib/ucmpdi2.c | 20 --------------------
> 4 files changed, 4 insertions(+), 50 deletions(-)

Reviewed-by: Andreas Larsson <andreas@xxxxxxxxxxx>
Tested-by: Andreas Larsson <andreas@xxxxxxxxxxx>

Picking this up to my for-next.

Thanks,
Andreas