trace: make argument 'mem' of trace_seq_putmem() const
authorLi Zefan <lizf@cn.fujitsu.com>
Fri, 27 Mar 2009 02:21:00 +0000 (10:21 +0800)
committerIngo Molnar <mingo@elte.hu>
Tue, 31 Mar 2009 15:45:13 +0000 (17:45 +0200)
commitb14b70a6a4e394c9630bcde17e07d3bcdcbca27e
tree80a6582f54334e8379d58a573f708d60dfd680c0
parentf285901bb21355bb47106658ef14eeb6b8ed538f
trace: make argument 'mem' of trace_seq_putmem() const

Impact: fix build warning

I passed a const value to trace_seq_putmem(), and I got compile warning.

Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Acked-by: Jens Axboe <jens.axboe@oracle.com>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/trace/trace_output.c
kernel/trace/trace_output.h