summaryrefslogtreecommitdiffstats
path: root/lib/dynamic_debug.c
diff options
context:
space:
mode:
authorMasami Hiramatsu <mhiramat@redhat.com>2010-02-05 12:16:47 -0500
committerIngo Molnar <mingo@elte.hu>2010-02-07 18:08:24 +0100
commit076dc4a65a6d99a16979e2c7917e669fb8c91ee5 (patch)
treecae9ee9075899ab97750eeaf017e22319adc4f38 /lib/dynamic_debug.c
parent5f485364365f00853e5249cb3ae31f876936b552 (diff)
downloadop-kernel-dev-076dc4a65a6d99a16979e2c7917e669fb8c91ee5.zip
op-kernel-dev-076dc4a65a6d99a16979e2c7917e669fb8c91ee5.tar.gz
x86/alternatives: Fix build warning
Fixes these warnings: arch/x86/kernel/alternative.c: In function 'alternatives_text_reserved': arch/x86/kernel/alternative.c:402: warning: comparison of distinct pointer types lacks a cast arch/x86/kernel/alternative.c:402: warning: comparison of distinct pointer types lacks a cast arch/x86/kernel/alternative.c:405: warning: comparison of distinct pointer types lacks a cast arch/x86/kernel/alternative.c:405: warning: comparison of distinct pointer types lacks a cast Caused by: 2cfa197: ftrace/alternatives: Introducing *_text_reserved functions Changes in v2: - Use local variables to compare, instead of type casts. Reported-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Masami Hiramatsu <mhiramat@redhat.com> Cc: systemtap <systemtap@sources.redhat.com> Cc: DLE <dle-develop@lists.sourceforge.net> LKML-Reference: <20100205171647.15750.37221.stgit@dhcp-100-2-132.bos.redhat.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud