Re: [PATCH] powerpc/4xx: Remove pika_dtm_[un]register_shutdown() to fix no previous prototype

From: Michael Ellerman
Date: Wed Aug 23 2023 - 08:04:06 EST


On Thu, 17 Aug 2023 15:44:26 +0200, Christophe Leroy wrote:
> ppc4xx_defconfig with W=1 results in:
>
> CC arch/powerpc/platforms/44x/warp.o
> arch/powerpc/platforms/44x/warp.c:369:5: error: no previous prototype for 'pika_dtm_register_shutdown' [-Werror=missing-prototypes]
> 369 | int pika_dtm_register_shutdown(void (*func)(void *arg), void *arg)
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~
> arch/powerpc/platforms/44x/warp.c:374:5: error: no previous prototype for 'pika_dtm_unregister_shutdown' [-Werror=missing-prototypes]
> 374 | int pika_dtm_unregister_shutdown(void (*func)(void *arg), void *arg)
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> [...]

Applied to powerpc/next.

[1/1] powerpc/4xx: Remove pika_dtm_[un]register_shutdown() to fix no previous prototype
https://git.kernel.org/powerpc/c/81554d10b22a211e4598a067a0f84b6e9e492669

cheers