lkml.org 
[lkml]   [2012]   [Jun]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] nommu: fix compilation of nommu.c
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>


\
 
 \ /
  Last update: 2012-06-04 09:41    [W:0.101 / U:0.312 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site