[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20120604065712.GX30000@ZenIV.linux.org.uk>
Date: Mon, 4 Jun 2012 07:57:12 +0100
From: Al Viro <viro@...IV.linux.org.uk>
To: gerg@...pgear.com
Cc: linux-kernel@...r.kernel.org, Greg Ungerer <gerg@...inux.org>
Subject: Re: [PATCH] nommu: fix compilation of nommu.c
On Mon, Jun 04, 2012 at 02:29:59PM +1000, gerg@...pgear.com wrote:
> From: Greg Ungerer <gerg@...inux.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@...inux.org>
Acked-by: Al Viro <viro@...iv.linux.org.uk>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists