fs: fix binfmt_aout.c build error
authorGuenter Roeck <linux@roeck-us.net>
Sat, 28 May 2016 22:26:02 +0000 (15:26 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 28 May 2016 23:34:59 +0000 (16:34 -0700)
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>
fs/binfmt_aout.c

index 64b331a..ae1b540 100644 (file)
@@ -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;
 }