summaryrefslogtreecommitdiffstats
path: root/include/linux/tty.h
diff options
context:
space:
mode:
authorSteven Rostedt <srostedt@redhat.com>2008-11-21 14:44:57 -0500
committerIngo Molnar <mingo@elte.hu>2008-11-23 11:46:49 +0100
commit0429149fb5e01edc410648591c19095d2074ee00 (patch)
treed16c0e5b19f1d1409bc653ea12ba17938774ec64 /include/linux/tty.h
parent2bcd521a684cc94befbe2ce7d5b613c841b0d304 (diff)
downloadlinux-0429149fb5e01edc410648591c19095d2074ee00.tar.gz
linux-0429149fb5e01edc410648591c19095d2074ee00.tar.bz2
linux-0429149fb5e01edc410648591c19095d2074ee00.zip
trace: fix compiler warning in branch profiler
Impact: fix compiler warning The ftrace_pointers used in the branch profiler are constant values. They should never change. But the compiler complains when they are passed into the debugfs_create_file as a data pointer, because the function discards the qualifier. This patch typecasts the parameter to debugfs_create_file back to a void pointer. To remind the callbacks that they are pointing to a constant value, I also modified the callback local pointers to be const struct ftrace_pointer * as well. Signed-off-by: Steven Rostedt <srostedt@redhat.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/linux/tty.h')
0 files changed, 0 insertions, 0 deletions