[PATCH v2] ARM: arch.h: Declare 'pt_regs' locally

Fabio Estevam festevam at gmail.com
Wed Nov 9 13:16:37 EST 2011


On Wed, Nov 9, 2011 at 3:56 PM, Russell King - ARM Linux
<linux at arm.linux.org.uk> wrote:
> On Wed, Nov 09, 2011 at 10:10:48AM -0200, Fabio Estevam wrote:
>> Fix the following warning when building imx_v4_v5_defconfig target:
>>
>>   CC      arch/arm/mach-imx/mach-imx27ipcam.o
>> In file included from arch/arm/mach-imx/mach-imx27ipcam.c:18:
>> /home/fabio/linus/linux-2.6/arch/arm/include/asm/mach/arch.h:47: warning: 'struct pt_regs' declared inside parameter list
>> /home/fabio/linus/linux-2.6/arch/arm/include/asm/mach/arch.h:47: warning: its scope is only this definition or declaration, which is probably not what you want
>> arch/arm/mach-imx/mach-imx27ipcam.c:78: warning: initialization from incompatible pointer type
>>
>> Declare 'struct pt_regs' locally.
>>
>> Cc: Eric Miao <eric.miao at canonical.com>
>> Signed-off-by: Fabio Estevam <fabio.estevam at freescale.com>
>
> Yup.  Can go to the patch system, thanks.

Done as 7155/1.

Regards,

Fabio Estevam



More information about the linux-arm-kernel mailing list