[PATCH 1/5] powerpc/suspend: Add prototype for do_after_copyback()
Arnd Bergmann
arnd at arndb.de
Thu Nov 30 00:40:32 AEDT 2023
On Wed, Nov 29, 2023, at 14:19, Michael Ellerman wrote:
> With HIBERNATION=y the build breaks with:
>
> arch/powerpc/kernel/swsusp_64.c:14:6: error: no previous prototype
> for ‘do_after_copyback’ [-Werror=missing-prototypes]
> 14 | void do_after_copyback(void)
> | ^~~~~~~~~~~~~~~~~
>
> do_after_copyback() is only called from asm, so there is no prototype,
> nor any header where it makes sense to place one. Just add a prototype
> in the C file to fix the build error.
>
> Signed-off-by: Michael Ellerman <mpe at ellerman.id.au>
Thanks for helping out with the rest. For the series (aside from the
very minor comment):
Reviewed-by: Arnd Bergmann <arnd at arndb.de>
More information about the Linuxppc-dev
mailing list