Thread (2 messages) 2 messages, 2 authors, 2023-08-23

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

From: Michael Ellerman <hidden>
Date: 2023-08-23 12:04:06
Also in: lkml

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help