linux-mips
[Top] [All Lists]

Re: [MIPS] Fix compiler warnings in arch/mips/sibyte/bcm1480/irq.c

To: Martin Michlmayr <tbm@cyrius.com>
Subject: Re: [MIPS] Fix compiler warnings in arch/mips/sibyte/bcm1480/irq.c
From: Ralf Baechle <ralf@linux-mips.org>
Date: Mon, 20 Feb 2006 11:09:33 +0000
Cc: linux-mips@linux-mips.org, mark.e.mason@broadcom.com
In-reply-to: <20060220045700.GA2519@deprecation.cyrius.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20060220045700.GA2519@deprecation.cyrius.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.4.2.1i
On Mon, Feb 20, 2006 at 04:57:00AM +0000, Martin Michlmayr wrote:

> Fix the following compiler warnings:
> 
>   CC      arch/mips/sibyte/bcm1480/irq.o
> arch/mips/sibyte/bcm1480/irq.c: In function ‘bcm1480_set_affinity’:
> arch/mips/sibyte/bcm1480/irq.c:168: warning: ISO C90 forbids mixed 
> declarations and code
> arch/mips/sibyte/bcm1480/irq.c: In function ‘ack_bcm1480_irq’:
> arch/mips/sibyte/bcm1480/irq.c:230: warning: ISO C90 forbids mixed 
> declarations and code

Not only ISO C - it simply doesn't build with gcc 3.2.  Applied,

  Ralf

<Prev in Thread] Current Thread [Next in Thread>