diff options
author | Rakib Mullick <rakib.mullick@gmail.com> | 2011-05-12 17:33:40 (GMT) |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2011-05-25 23:56:26 (GMT) |
commit | 0d098a7d1e39553e8a3f638b923551edec4868a7 (patch) | |
tree | 15f4b9ab0338a23b8a005d00e6c2bb3e05ffbe19 /Documentation/input/joystick-api.txt | |
parent | f29c50419c8d1998edd759f1990c4243a248f469 (diff) | |
download | linux-fsl-qoriq-0d098a7d1e39553e8a3f638b923551edec4868a7.tar.xz |
x86/ftrace: Fix compiler warning in ftrace.c
Due to commit dc326fca2b64 (x86, cpu: Clean up and unify the NOP selection infrastructure), we get the following warning:
arch/x86/kernel/ftrace.c: In function ‘ftrace_make_nop’:
arch/x86/kernel/ftrace.c:308:6: warning: assignment discards qualifiers from pointer target type
arch/x86/kernel/ftrace.c: In function ‘ftrace_make_call’:
arch/x86/kernel/ftrace.c:318:6: warning: assignment discards qualifiers from pointer target type
ftrace_nop_replace() now returns const unsigned char *, so change its associated function/variable to its compatible type to keep compiler clam.
Signed-off-by: Rakib Mullick <rakib.mullick@gmail.com>
Link: http://lkml.kernel.org/r/1305221620.7986.4.camel@localhost.localdomain
[ updated for change of const void *src in probe_kernel_write() ]
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'Documentation/input/joystick-api.txt')
0 files changed, 0 insertions, 0 deletions