linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: linux@arm.linux.org.uk (Russell King - ARM Linux)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2] ARM: arch.h: Declare 'pt_regs' locally
Date: Wed, 9 Nov 2011 17:56:35 +0000	[thread overview]
Message-ID: <20111109175635.GO12913@n2100.arm.linux.org.uk> (raw)
In-Reply-To: <1320840648-3197-1-git-send-email-fabio.estevam@freescale.com>

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@canonical.com>
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>

Yup.  Can go to the patch system, thanks.

  parent reply	other threads:[~2011-11-09 17:56 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-09 12:10 [PATCH v2] ARM: arch.h: Declare 'pt_regs' locally Fabio Estevam
2011-11-09 12:19 ` Eric Miao
2011-11-09 17:56 ` Russell King - ARM Linux [this message]
2011-11-09 18:16   ` Fabio Estevam

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20111109175635.GO12913@n2100.arm.linux.org.uk \
    --to=linux@arm.linux.org.uk \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).