From: Guenter Roeck Date: Sat, 28 May 2016 22:26:02 +0000 (-0700) Subject: fs: fix binfmt_aout.c build error X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d66492bce151ac4c477cf1de97171777c0d62d20;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Linus Torvalds --- 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; }