ksym_tracer: Fix bad cast
authorLi Zefan <lizf@cn.fujitsu.com>
Tue, 8 Dec 2009 03:18:16 +0000 (11:18 +0800)
committerFrederic Weisbecker <fweisbec@gmail.com>
Sun, 13 Dec 2009 17:46:54 +0000 (18:46 +0100)
commit16620e0f1990fa6d896a639449c4b3d678458464
treefd8be22bfc910b858277c8b12e9621eb47e6ba08
parent472bbe02c92a7a8299d7b16946277d98bb8f4bb7
ksym_tracer: Fix bad cast

Fix this warning:

kernel/trace/trace_ksym.c: In function 'ksym_trace_filter_read':
kernel/trace/trace_ksym.c:239: warning: cast to pointer from integer of different size

Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Acked-by: Steven Rostedt <rostedt@goodmis.org>
Cc: "K.Prasad" <prasad@linux.vnet.ibm.com>
LKML-Reference: <4B1DC578.9020909@cn.fujitsu.com>
[remove the strstrip fix as tglx already fixed that]
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
kernel/trace/trace_ksym.c