Re: [PATCH] ARM: iop32x: add prototype for iop_enable_cp6()

From: Arnd Bergmann
Date: Tue Mar 01 2022 - 05:25:51 EST


On Thu, Feb 17, 2022 at 11:46 PM Souptick Joarder <jrdr.linux@xxxxxxxxx> wrote:
>
> From: "Souptick Joarder (HPE)" <jrdr.linux@xxxxxxxxx>
>
> Kernel test robot throws warning ->
> arch/arm/mach-iop32x/cp6.c:10:6: warning: no previous prototype
> for function 'iop_enable_cp6' [-Wmissing-prototypes]
>
> Adding prototype by including header.

It may be worth mentioning that this only happens with W=1 or V=1 but
not with the
normal build options.

> Fixes: 6f5d248d05db ("ARM: iop32x: use GENERIC_IRQ_MULTI_HANDLER")
> Reported-by: kernel test robot <lkp@xxxxxxxxx>
> Signed-off-by: Souptick Joarder (HPE) <jrdr.linux@xxxxxxxxx>

Reviewed-by: Arnd Bergmann <arnd@xxxxxxxx>

Russell, please apply this on top of the arm-vmap-stacks-v6 that contains my
original patch withthe W=1 warning.

Arnd