ext4: fix tracepoint format string warnings
authorTheodore Ts'o <tytso@mit.edu>
Thu, 17 Sep 2009 12:50:18 +0000 (08:50 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 17 Sep 2009 12:50:18 +0000 (08:50 -0400)
commita3710fd1ee8cd542c5de63cf2c39f8912031f867
tree5d101a6345549df731891f64c6bec51c89823f70
parent7f1346a9de6a689b03f2c1c3a387e49ec64da267
ext4: fix tracepoint format string warnings

Unlike on some other architectures ino_t is an unsigned int on s390.
So add an explicit cast to avoid lots of compile warnings:

In file included from include/trace/ftrace.h:285,
                 from include/trace/define_trace.h:61,
                 from include/trace/events/ext4.h:711,
                 from fs/ext4/super.c:50:
include/trace/events/ext4.h: In function 'ftrace_raw_output_ext4_free_inode':
include/trace/events/ext4.h:12: warning: format '%lu' expects type 'long unsigned int', but argument 4 has type 'ino_t'

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
include/trace/events/ext4.h
include/trace/events/jbd2.h