s390/ftrace: avoid pointer arithmetics with function pointers
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Fri, 6 Sep 2013 17:16:14 +0000 (19:16 +0200)
committerHeiko Carstens <heiko.carstens@de.ibm.com>
Sat, 7 Sep 2013 09:58:07 +0000 (11:58 +0200)
commit5eb8ae503e13c6eee3545e3e3be986db000ae8c2
tree3afd3870cd35c5ffdf54481732cc6253a189f2a7
parent63df41d663fc27e96571bfea86d3f9ee81289e07
s390/ftrace: avoid pointer arithmetics with function pointers

Pointer arithmetics with function pointers is not really defined, but
seems to do the right thing. Let's cast to a void pointer to have a
defined behaviour, at least when using gcc.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
arch/s390/kernel/ftrace.c