linux-mips
[Top] [All Lists]

Re: [PATCH 1/2] au1000: fix build failure for db1x00 configured for Au1

To: Ralf Baechle <ralf@linux-mips.org>
Subject: Re: [PATCH 1/2] au1000: fix build failure for db1x00 configured for Au1100 SoC
From: Manuel Lauss <manuel.lauss@googlemail.com>
Date: Mon, 5 Oct 2009 11:44:04 +0200
Cc: linux-mips@linux-mips.org, Florian Fainelli <florian@openwrt.org>
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=d/6TZstbmcQRfxHEQTZNOtP9jmSaVJabB10uzNQH3mw=; b=FPq+uM5zqvAsJDb0TBPmUmv0IbRClyCYJ+J7A3zOmB05O/ezUiPlgkVqpWFJSKeWBH kx1wysFL/jsBWk/2QS1SWJ7H2endonnyzi0JHs+uOvle9hdWiQCvTGJCqqr1h+VeCf10 lRqmc5K1KlhjtXHWl7vWqhCu2yFUNatZYxTAA=
Domainkey-signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=NVq4X0Vb8J4lz3tKOOni6/CyS/lIuDGQrZA+1u2Y+ca25fpu15PljWIYG1D4cZuECk CS9b7mdETZU1GmN1JWW6BgeXlwdxSSaslvU1lt9EZ3BNT2j4Jq0PbLaMV4xQnC2EsImX JC+eqriqAFkHwQA+EXLD+FMhwdp2Poe2vrC8E=
In-reply-to: <f861ec6f0908302331p7f44a584pdae29cafce7ef950@mail.gmail.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <200908170028.27210.florian@openwrt.org> <f861ec6f0908302331p7f44a584pdae29cafce7ef950@mail.gmail.com>
Sender: linux-mips-bounce@linux-mips.org
Ping?

On Mon, Aug 31, 2009 at 8:31 AM, Manuel Lauss
<manuel.lauss@googlemail.com> wrote:
> Hi Ralf,
>
> Please add Florian's patch below to your patchqueue!
>
> On Mon, Aug 17, 2009 at 12:28 AM, Florian Fainelli<florian@openwrt.org> wrote:
>> Hi Ralf,
>>
>> This patch should apply to both -master and -queue. Thanks !
>> --
>> From: Florian Fainelli <florian@openwrt.org>
>> Subject: [PATCH 1/2] au1000: fix build failure for db1x00 configured for 
>> Au1100 SoC
>>
>> This patch fixes the following warning, which becomes an error due to
>> -Werror to be turned on:
>>  CC      arch/mips/alchemy/common/gpiolib-au1000.o
>> cc1: warnings being treated as errors
>> arch/mips/alchemy/common/gpiolib-au1000.c: In function 'au1100_gpio2_to_irq':
>> /home/florian/dev/kernel/linux-queue/arch/mips/include/asm/mach-au1x00/gpio-au1000.h:107:
>>  warning: control reaches end of non-void function
>>
>> Signed-off-by: Florian Fainelli <florian@openwrt.org>
>> ---
>> diff --git a/arch/mips/include/asm/mach-au1x00/gpio-au1000.h 
>> b/arch/mips/include/asm/mach-au1x00/gpio-au1000.h
>> index 127d4ed..4d54d40 100644
>> --- a/arch/mips/include/asm/mach-au1x00/gpio-au1000.h
>> +++ b/arch/mips/include/asm/mach-au1x00/gpio-au1000.h
>> @@ -104,6 +104,8 @@ static inline int au1100_gpio2_to_irq(int gpio)
>>
>>        if ((gpio >= 8) && (gpio <= 15))
>>                return MAKE_IRQ(0, 29);         /* shared GPIO208_215 */
>> +
>> +       return -ENXIO;
>>  }
>>
>>  #ifdef CONFIG_SOC_AU1100

<Prev in Thread] Current Thread [Next in Thread>
  • Re: [PATCH 1/2] au1000: fix build failure for db1x00 configured for Au1100 SoC, Manuel Lauss <=