Skip to content

Commit

Permalink
fs: fix binfmt_aout.c build error
Browse files Browse the repository at this point in the history
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: 5d22fc2 ("mm: remove more IS_ERR_VALUE abuses")
Signed-off-by: Guenter Roeck <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
groeck authored and torvalds committed May 28, 2016
1 parent 7e0fb73 commit d66492b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion fs/binfmt_aout.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit d66492b

Please sign in to comment.