summaryrefslogtreecommitdiffstats
path: root/init/do_mounts_rd.c
diff options
context:
space:
mode:
authorDavid Daney2011-03-23 00:34:48 +0100
committerLinus Torvalds2011-03-23 01:44:15 +0100
commit1a530a6f23f7dca336311ef60c9ca26f3dc63688 (patch)
treed8d010c7c1fb56d8db0da2213c9aa4b7da32e911 /init/do_mounts_rd.c
parentepoll: fix compiler warning and optimize the non-blocking path (diff)
downloadkernel-qcow2-linux-1a530a6f23f7dca336311ef60c9ca26f3dc63688.tar.gz
kernel-qcow2-linux-1a530a6f23f7dca336311ef60c9ca26f3dc63688.tar.xz
kernel-qcow2-linux-1a530a6f23f7dca336311ef60c9ca26f3dc63688.zip
binfmt_elf: quiet GCC-4.6 'set but not used' warning in load_elf_binary()
With GCC-4.6 we get warnings about things being 'set but not used'. In load_elf_binary() this can happen with reloc_func_desc if ELF_PLAT_INIT is defined, but doesn't use the reloc_func_desc argument. Quiet the warning/error by marking reloc_func_desc as __maybe_unused. Signed-off-by: David Daney <ddaney@caviumnetworks.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'init/do_mounts_rd.c')
0 files changed, 0 insertions, 0 deletions