Re: [PATCH 2/3] MIPS: sgi-ip22: Add prototypes for several functions to header

From: Thomas Bogendoerfer
Date: Tue Jun 11 2024 - 08:22:59 EST


On Thu, May 16, 2024 at 07:59:05PM +0800, Genjian wrote:
> From: Genjian Zhang <zhanggenjian@xxxxxxxxxx>
>
> This fixes the following build warning:
>
> arch/mips/sgi-ip22/ip22-time.c:119:18: error: no previous prototype for ‘indy_8254timer_irq’ [-Werror=missing-prototypes]
> arch/mips/sgi-ip22/ip22-berr.c:89:6: error: no previous prototype for ‘ip22_be_interrupt’ [-Werror=missing-prototypes]
> arch/mips/sgi-ip22/ip22-berr.c:113:13: error: no previous prototype for ‘ip22_be_init’ [-Werror=missing-prototypes]
>
> Reported-by: k2ci <kernel-bot@xxxxxxxxxx>
> Signed-off-by: Genjian Zhang <zhanggenjian@xxxxxxxxxx>
> ---
> arch/mips/include/asm/sgi/ip22.h | 3 +++
> arch/mips/sgi-ip22/ip22-int.c | 2 --
> arch/mips/sgi-ip22/ip22-setup.c | 2 --
> 3 files changed, 3 insertions(+), 4 deletions(-)

applied to mips-next.

Thomas.

--
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea. [ RFC1925, 2.3 ]