summaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorBen Hutchings <ben@decadent.org.uk>2014-09-24 16:30:12 +0400
committerIngo Molnar <mingo@kernel.org>2014-09-24 17:17:47 +0400
commiteeeda4cd06e828b331b15741a204ff9f5874d28d (patch)
tree7ba5e8dcf5dfaeda4a2ad0f8f479d7aa4a7642cf /block
parentce4b1b16502b182368cda20a61de2995762c8bcc (diff)
downloadlinux-eeeda4cd06e828b331b15741a204ff9f5874d28d.tar.xz
x86/relocs: Make per_cpu_load_addr static
per_cpu_load_addr is only used for 64-bit relocations, but is declared in both configurations of relocs.c - with different types. This has undefined behaviour in general. GNU ld is documented to use the larger size in this case, but other tools may differ and some warn about this. References: https://bugs.debian.org/748577 Reported-by: Michael Tautschnig <mt@debian.org> Signed-off-by: Ben Hutchings <ben@decadent.org.uk> Cc: 748577@bugs.debian.org Cc: Linus Torvalds <torvalds@linux-foundation.org> Link: http://lkml.kernel.org/r/1411561812.3659.23.camel@decadent.org.uk Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions