aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/structleak_plugin.c
diff options
context:
space:
mode:
authorGeert Uytterhoeven <[email protected]>2021-09-05 09:30:34 +0000
committerLinus Torvalds <[email protected]>2021-09-05 17:15:05 +0000
commit0319b848b155185815724e1b46103c550627a845 (patch)
treead08827f8d344e2bcc5d158132f93ad17b1c411a /scripts/gcc-plugins/structleak_plugin.c
parentMerge tag 'denywrite-for-5.15' of git://github.com/davidhildenbrand/linux (diff)
downloadkernel-0319b848b155185815724e1b46103c550627a845.tar.gz
kernel-0319b848b155185815724e1b46103c550627a845.zip
binfmt: a.out: Fix bogus semicolon
fs/binfmt_aout.c: In function ‘load_aout_library’: fs/binfmt_aout.c:311:27: error: expected ‘)’ before ‘;’ token 311 | MAP_FIXED | MAP_PRIVATE; | ^ fs/binfmt_aout.c:309:10: error: too few arguments to function ‘vm_mmap’ 309 | error = vm_mmap(file, start_addr, ex.a_text + ex.a_data, | ^~~~~~~ In file included from fs/binfmt_aout.c:12: include/linux/mm.h:2626:35: note: declared here 2626 | extern unsigned long __must_check vm_mmap(struct file *, unsigned long, | ^~~~~~~ Fix this by reverting the accidental replacement of a comma by a semicolon. Fixes: 42be8b42535183f8 ("binfmt: don't use MAP_DENYWRITE when loading shared libraries via uselib()") Reported-by: [email protected] Reported-by: Guenter Roeck <[email protected]> Signed-off-by: Geert Uytterhoeven <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/structleak_plugin.c')
0 files changed, 0 insertions, 0 deletions