[14/21] powerpc: Add missing prototype for arch_irq_work_raise
Michael Ellerman
patch-notifications at ellerman.id.au
Wed Mar 14 20:27:58 AEDT 2018
On Sun, 2018-02-25 at 17:22:29 UTC, Mathieu Malaterre wrote:
> In commit 4f8b50bbbe63 ("irq_work, ppc: Fix up arch hooks") a new function
> arch_irq_work_raise was added without a prototype in header irq_work.h.
>
> Fix the following warning (treated as error in W=1):
>
> CC arch/powerpc/kernel/time.o
> arch/powerpc/kernel/time.c:523:6: error: no previous prototype for ‘arch_irq_work_raise’ [-Werror=missing-prototypes]
> void arch_irq_work_raise(void)
> ^~~~~~~~~~~~~~~~~~~
> cc1: all warnings being treated as errors
>
> Signed-off-by: Mathieu Malaterre <malat at debian.org>
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/f5246862f82f1e16bbf84cda4cddf2
cheers
More information about the Linuxppc-dev
mailing list