summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorGreg Ungerer <gerg@uclinux.org>2012-06-04 14:29:59 +1000
committerAl Viro <viro@zeniv.linux.org.uk>2012-06-04 17:17:31 -0400
commitad1ed2937eaa30adf9996ef5f21e0c1895f906b0 (patch)
tree3238627961c45144f3235fa39b2ac98561c61078 /include
parent9171c670b4915e30360c2aed530b8377fbbcc852 (diff)
downloadlinux-stable-ad1ed2937eaa30adf9996ef5f21e0c1895f906b0.tar.gz
linux-stable-ad1ed2937eaa30adf9996ef5f21e0c1895f906b0.tar.bz2
linux-stable-ad1ed2937eaa30adf9996ef5f21e0c1895f906b0.zip
nommu: fix compilation of nommu.c
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> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions