* [PATCH 1/2] au1000: fix build failure for db1x00 configured for Au1100 SoC
@ 2009-08-16 22:28 Florian Fainelli
2009-08-31 6:31 ` Manuel Lauss
0 siblings, 1 reply; 5+ messages in thread
From: Florian Fainelli @ 2009-08-16 22:28 UTC (permalink / raw)
To: ralf Baechle; +Cc: linux-mips, Manuel Lauss
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
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH 1/2] au1000: fix build failure for db1x00 configured for Au1100 SoC
@ 2009-08-31 6:31 ` Manuel Lauss
0 siblings, 0 replies; 5+ messages in thread
From: Manuel Lauss @ 2009-08-31 6:31 UTC (permalink / raw)
To: Ralf Baechle; +Cc: linux-mips, Florian Fainelli
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
Thanks!
Manuel Lauss
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 1/2] au1000: fix build failure for db1x00 configured for Au1100 SoC
@ 2009-08-31 6:31 ` Manuel Lauss
0 siblings, 0 replies; 5+ messages in thread
From: Manuel Lauss @ 2009-08-31 6:31 UTC (permalink / raw)
To: Ralf Baechle; +Cc: linux-mips, Florian Fainelli
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
Thanks!
Manuel Lauss
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 1/2] au1000: fix build failure for db1x00 configured for Au1100 SoC
@ 2009-10-05 9:44 ` Manuel Lauss
0 siblings, 0 replies; 5+ messages in thread
From: Manuel Lauss @ 2009-10-05 9:44 UTC (permalink / raw)
To: Ralf Baechle; +Cc: linux-mips, Florian Fainelli
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 1/2] au1000: fix build failure for db1x00 configured for Au1100 SoC
@ 2009-10-05 9:44 ` Manuel Lauss
0 siblings, 0 replies; 5+ messages in thread
From: Manuel Lauss @ 2009-10-05 9:44 UTC (permalink / raw)
To: Ralf Baechle; +Cc: linux-mips, Florian Fainelli
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
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2009-10-05 9:44 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-08-16 22:28 [PATCH 1/2] au1000: fix build failure for db1x00 configured for Au1100 SoC Florian Fainelli
2009-08-31 6:31 ` Manuel Lauss
2009-08-31 6:31 ` Manuel Lauss
2009-10-05 9:44 ` Manuel Lauss
2009-10-05 9:44 ` Manuel Lauss
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.