diff options
author | David Daney <[email protected]> | 2011-03-22 16:34:48 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2011-03-22 17:44:15 -0700 |
commit | 1a530a6f23f7dca336311ef60c9ca26f3dc63688 (patch) | |
tree | d8d010c7c1fb56d8db0da2213c9aa4b7da32e911 /include/linux/auto_dev-ioctl.h | |
parent | f4d93ad74c18143abd3067ca3c8ffba7d00addf4 (diff) |
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 <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/auto_dev-ioctl.h')
0 files changed, 0 insertions, 0 deletions