| To: | xfs@xxxxxxxxxxx |
|---|---|
| Subject: | [PATCH] xfs: fix compiler warning in xfs_trace.h |
| From: | Christoph Hellwig <hch@xxxxxxxxxxxxx> |
| Date: | Sun, 24 Apr 2011 15:02:58 -0400 |
| User-agent: | Mutt/1.5.21 (2010-09-15) |
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: Randy Dunlap <randy.dunlap@xxxxxxxxxx>
Signed-off-by: Christoph Hellwig <hch@xxxxxx>
Index: xfs/fs/xfs/linux-2.6/xfs_trace.h
===================================================================
--- xfs.orig/fs/xfs/linux-2.6/xfs_trace.h 2011-04-22 06:22:11.409709360
+0200
+++ xfs/fs/xfs/linux-2.6/xfs_trace.h 2011-04-22 06:22:30.756271218 +0200
@@ -1418,7 +1418,7 @@ DECLARE_EVENT_CLASS(xfs_alloc_class,
__entry->wasfromfl,
__entry->isfl,
__entry->userdata,
- __entry->firstblock)
+ (unsigned long long)__entry->firstblock)
)
#define DEFINE_ALLOC_EVENT(name) \
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | AVRUPA KALİTE TEŞKİLATI 3 FARKLI UZMANLIK SERTİFİKA PROGRAMI 0 535 557 34 18 , İLKAY DEMİRPARMAK |
|---|---|
| Next by Date: | [PATCH 0/4] improved busy extent handling V5, Christoph Hellwig |
| Previous by Thread: | AVRUPA KALİTE TEŞKİLATI 3 FARKLI UZMANLIK SERTİFİKA PROGRAMI 0 535 557 34 18 , İLKAY DEMİRPARMAK |
| Next by Thread: | Re: [PATCH] xfs: fix compiler warning in xfs_trace.h, Dave Chinner |
| Indexes: | [Date] [Thread] [Top] [All Lists] |