Commit 1a18a294 authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Alex Elder

xfs: fix compiler warning in xfs_trace.h

xfs_fsblock_t may be a 32-bit type on if XFS_BIG_BLKNOS is not set,
make sure to cast a value of this type to an unsigned long long
before using the ll printk qualifier.
Reported-by: default avatarRandy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Reviewed-by: default avatarDave Chinner <dchinner@redhat.com>
Signed-off-by: default avatarAlex Elder <aelder@sgi.com>
parent 45c51b99
...@@ -1391,7 +1391,7 @@ DECLARE_EVENT_CLASS(xfs_alloc_class, ...@@ -1391,7 +1391,7 @@ DECLARE_EVENT_CLASS(xfs_alloc_class,
__entry->wasfromfl, __entry->wasfromfl,
__entry->isfl, __entry->isfl,
__entry->userdata, __entry->userdata,
__entry->firstblock) (unsigned long long)__entry->firstblock)
) )
#define DEFINE_ALLOC_EVENT(name) \ #define DEFINE_ALLOC_EVENT(name) \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment