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

From: Randy Dunlap
Date: Fri Feb 23 2024 - 19:28:17 EST




On 2/23/24 11:36, 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>
> Cc: "David S. Miller" <davem@xxxxxxxxxxxxx>
> Cc: Andreas Larsson <andreas@xxxxxxxxxxx>

Looks good. Thanks.

Reviewed-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
Tested-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx> # build-tested

> ---
> 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(-)
>

--
#Randy