linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: thierry.reding@gmail.com (Thierry Reding)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM: nommu: Include asm/procinfo.h to fix build warning
Date: Fri, 15 Nov 2013 10:01:19 +0100	[thread overview]
Message-ID: <20131115090118.GA26458@ulmo.nvidia.com> (raw)
In-Reply-To: <1384486680.11140.1.camel@phoenix>

On Fri, Nov 15, 2013 at 11:38:00AM +0800, Axel Lin wrote:
> Include asm/procinfo.h to fix below build warning:
>   CC      arch/arm/mm/nommu.o
> arch/arm/mm/nommu.c:303:17: warning: 'struct proc_info_list' declared inside parameter list [enabled by default]
> arch/arm/mm/nommu.c:303:17: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
> 
> Signed-off-by: Axel Lin <axel.lin@ingics.com>
> ---
>  arch/arm/mm/nommu.c | 1 +
>  1 file changed, 1 insertion(+)

Interesting, I didn't see those at the time when writing the patch.
Perhaps some reordering of includes subsequently caused this to happen?

Thierry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20131115/cf0b6c13/attachment-0001.sig>

      parent reply	other threads:[~2013-11-15  9:01 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-15  3:38 [PATCH] ARM: nommu: Include asm/procinfo.h to fix build warning Axel Lin
2013-11-15  7:14 ` Olof Johansson
2013-11-15 11:36   ` Russell King - ARM Linux
2013-11-15  9:01 ` Thierry Reding [this message]

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=20131115090118.GA26458@ulmo.nvidia.com \
    --to=thierry.reding@gmail.com \
    --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).