summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2016-05-28 15:26:02 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2016-05-28 16:34:59 -0700
commitd66492bce151ac4c477cf1de97171777c0d62d20 (patch)
treec529d2f0c1b35575785e4b2ad4470b674e5d8783
parent7e0fb73c52c4037b4d5ef9ff56c7296a3151bd92 (diff)
downloadlinux-sh-d66492bce151ac4c477cf1de97171777c0d62d20.tar.gz
fs: fix binfmt_aout.c build error
Various builds (such as i386:allmodconfig) fail with fs/binfmt_aout.c:133:2: error: expected identifier or '(' before 'return' fs/binfmt_aout.c:134:1: error: expected identifier or '(' before '}' token [ Oops. My bad, I had stupidly thought that "allmodconfig" covered this on x86-64 too, but it obviously doesn't. Egg on my face. - Linus ] Fixes: 5d22fc25d4fc ("mm: remove more IS_ERR_VALUE abuses") Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--fs/binfmt_aout.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/binfmt_aout.c b/fs/binfmt_aout.c
index 64b331ae3428..ae1b5404fced 100644
--- a/fs/binfmt_aout.c
+++ b/fs/binfmt_aout.c
@@ -129,7 +129,6 @@ static int set_brk(unsigned long start, unsigned long end)
end = PAGE_ALIGN(end);
if (end > start)
return vm_brk(start, end - start);
- }
return 0;
}