[Linux-parport] [PATCH v2 1/7] sparc32: Use generic cmpdi2/ucmpdi2 variants

Andreas Larsson andreas at gaisler.com
Fri Mar 8 12:00:45 PST 2024


On 2024-02-24 18:42, Sam Ravnborg via B4 Relay wrote:
> From: Sam Ravnborg <sam at ravnborg.org>
> 
> 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 at ravnborg.org>
> Fixes: 0fcb70851fbf ("Makefile.extrawarn: turn on missing-prototypes globally")
> Reviewed-by: Randy Dunlap <rdunlap at infradead.org>
> Tested-by: Randy Dunlap <rdunlap at infradead.org> # build-tested
> Reviewed-by: Maciej W. Rozycki <macro at orcam.me.uk>
> Tested-by: Maciej W. Rozycki <macro at orcam.me.uk> # build-tested
> Cc: "David S. Miller" <davem at davemloft.net>
> Cc: Andreas Larsson <andreas at gaisler.com>
> ---
>  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 at gaisler.com>
Tested-by: Andreas Larsson <andreas at gaisler.com>

Picking this up to my for-next.

Thanks,
Andreas



More information about the Linux-parport mailing list