diff options
author | Dave Chinner <david@fromorbit.com> | 2009-12-16 19:20:07 -0500 |
---|---|---|
committer | Alex Elder <aelder@sgi.com> | 2010-01-08 14:32:29 -0500 |
commit | a539bd8c86549b545b4ed27a0cfaf53fe649054d (patch) | |
tree | b31f3a00cc96147e3872534ba0d713f828f89f5b /fs/xfs | |
parent | 74d2e4f8d79ae0c4b6ec027958d5b18058662eea (diff) |
xfs: kill some warnings on i386 builds
Randy Dunlap Reported printk() format-related warnings reported
on i386 builds in his environment. Dave Chinner provided this
patch to eliminate them.
Signed-off by: Dave Chinner <david@fromorbit.com>
Acked-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Alex Elder <aelder@sgi.com>
Diffstat (limited to 'fs/xfs')
-rw-r--r-- | fs/xfs/linux-2.6/xfs_trace.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/xfs/linux-2.6/xfs_trace.h b/fs/xfs/linux-2.6/xfs_trace.h index c40834bdee58..d4ded59d2ffe 100644 --- a/fs/xfs/linux-2.6/xfs_trace.h +++ b/fs/xfs/linux-2.6/xfs_trace.h | |||
@@ -815,7 +815,7 @@ TRACE_EVENT(name, \ | |||
815 | ), \ | 815 | ), \ |
816 | TP_printk("dev %d:%d ino 0x%llx size 0x%llx new_size 0x%llx " \ | 816 | TP_printk("dev %d:%d ino 0x%llx size 0x%llx new_size 0x%llx " \ |
817 | "offset 0x%llx count %zd flags %s " \ | 817 | "offset 0x%llx count %zd flags %s " \ |
818 | "startoff 0x%llx startblock 0x%llx blockcount 0x%llx", \ | 818 | "startoff 0x%llx startblock %s blockcount 0x%llx", \ |
819 | MAJOR(__entry->dev), MINOR(__entry->dev), \ | 819 | MAJOR(__entry->dev), MINOR(__entry->dev), \ |
820 | __entry->ino, \ | 820 | __entry->ino, \ |
821 | __entry->size, \ | 821 | __entry->size, \ |
@@ -824,7 +824,7 @@ TRACE_EVENT(name, \ | |||
824 | __entry->count, \ | 824 | __entry->count, \ |
825 | __print_flags(__entry->flags, "|", BMAPI_FLAGS), \ | 825 | __print_flags(__entry->flags, "|", BMAPI_FLAGS), \ |
826 | __entry->startoff, \ | 826 | __entry->startoff, \ |
827 | __entry->startblock, \ | 827 | xfs_fmtfsblock(__entry->startblock), \ |
828 | __entry->blockcount) \ | 828 | __entry->blockcount) \ |
829 | ) | 829 | ) |
830 | DEFINE_IOMAP_EVENT(xfs_iomap_enter); | 830 | DEFINE_IOMAP_EVENT(xfs_iomap_enter); |
@@ -1201,7 +1201,7 @@ TRACE_EVENT(name, \ | |||
1201 | TP_printk("dev %d:%d agno %u agbno %u minlen %u maxlen %u mod %u " \ | 1201 | TP_printk("dev %d:%d agno %u agbno %u minlen %u maxlen %u mod %u " \ |
1202 | "prod %u minleft %u total %u alignment %u minalignslop %u " \ | 1202 | "prod %u minleft %u total %u alignment %u minalignslop %u " \ |
1203 | "len %u type %s otype %s wasdel %d wasfromfl %d isfl %d " \ | 1203 | "len %u type %s otype %s wasdel %d wasfromfl %d isfl %d " \ |
1204 | "userdata %d firstblock 0x%llx", \ | 1204 | "userdata %d firstblock %s", \ |
1205 | MAJOR(__entry->dev), MINOR(__entry->dev), \ | 1205 | MAJOR(__entry->dev), MINOR(__entry->dev), \ |
1206 | __entry->agno, \ | 1206 | __entry->agno, \ |
1207 | __entry->agbno, \ | 1207 | __entry->agbno, \ |
@@ -1220,7 +1220,7 @@ TRACE_EVENT(name, \ | |||
1220 | __entry->wasfromfl, \ | 1220 | __entry->wasfromfl, \ |
1221 | __entry->isfl, \ | 1221 | __entry->isfl, \ |
1222 | __entry->userdata, \ | 1222 | __entry->userdata, \ |
1223 | __entry->firstblock) \ | 1223 | xfs_fmtfsblock(__entry->firstblock)) \ |
1224 | ) | 1224 | ) |
1225 | 1225 | ||
1226 | DEFINE_ALLOC_EVENT(xfs_alloc_exact_done); | 1226 | DEFINE_ALLOC_EVENT(xfs_alloc_exact_done); |