From: Al Viro <viro@ZenIV.linux.org.uk>
To: gerg@snapgear.com
Cc: linux-kernel@vger.kernel.org, Greg Ungerer <gerg@uclinux.org>
Subject: Re: [PATCH] nommu: fix compilation of nommu.c
Date: Mon, 4 Jun 2012 07:57:12 +0100 [thread overview]
Message-ID: <20120604065712.GX30000@ZenIV.linux.org.uk> (raw)
In-Reply-To: <1338784199-19286-1-git-send-email-gerg@snapgear.com>
On Mon, Jun 04, 2012 at 02:29:59PM +1000, gerg@snapgear.com wrote:
> From: Greg Ungerer <gerg@uclinux.org>
>
> Compiling 3.5-rc1 for nommu targets gives:
>
> CC mm/nommu.o
> mm/nommu.c: In function ???sys_mmap_pgoff???:
> mm/nommu.c:1489:2: error: ???ret??? undeclared (first use in this function)
> mm/nommu.c:1489:2: note: each undeclared identifier is reported only once for each function it appears in
>
> It is trivially fixed by replacing 'ret' with the local variable that is
> already defined for the return value 'retval'.
>
> Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Acked-by: Al Viro <viro@zeniv.linux.org.uk>
prev parent reply other threads:[~2012-06-04 6:57 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-04 4:29 gerg
2012-06-04 6:57 ` Al Viro [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=20120604065712.GX30000@ZenIV.linux.org.uk \
--to=viro@zeniv.linux.org.uk \
--cc=gerg@snapgear.com \
--cc=gerg@uclinux.org \
--cc=linux-kernel@vger.kernel.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
Powered by JetHome