* [PATCH] XFS warning on sparc64
@ 2004-05-06 17:33 Meelis Roos
2004-05-06 19:58 ` Nathan Scott
0 siblings, 1 reply; 2+ messages in thread
From: Meelis Roos @ 2004-05-06 17:33 UTC (permalink / raw)
To: Linux Kernel list, nathans
This is 2.6.6-rc3+BK as of today on a sparc64 (gcc 3.3.3 on Debian):
CC [M] fs/xfs/xfs_buf_item.o
fs/xfs/xfs_buf_item.c: In function `xfs_buf_iodone_callbacks':
fs/xfs/xfs_buf_item.c:1055: warning: long long unsigned int format, xfs_daddr_t arg (arg 3)
The following patch seems to fix it - is it correct?
===== fs/xfs/xfs_buf_item.c 1.16 vs edited =====
--- 1.16/fs/xfs/xfs_buf_item.c Mon Feb 9 06:12:20 2004
+++ edited/fs/xfs/xfs_buf_item.c Thu May 6 20:09:01 2004
@@ -1053,7 +1053,7 @@
(time_after(jiffies, (lasttime + 5*HZ)))) {
lasttime = jiffies;
prdev("XFS write error in file system meta-data "
- "block 0x%Lx in %s",
+ "block 0x%Zx in %s",
XFS_BUF_TARGET(bp),
XFS_BUF_ADDR(bp), mp->m_fsname);
}
--
Meelis Roos (mroos@linux.ee)
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [PATCH] XFS warning on sparc64
2004-05-06 17:33 [PATCH] XFS warning on sparc64 Meelis Roos
@ 2004-05-06 19:58 ` Nathan Scott
0 siblings, 0 replies; 2+ messages in thread
From: Nathan Scott @ 2004-05-06 19:58 UTC (permalink / raw)
To: Meelis Roos; +Cc: Linux Kernel list
On Thu, May 06, 2004 at 08:33:06PM +0300, Meelis Roos wrote:
> This is 2.6.6-rc3+BK as of today on a sparc64 (gcc 3.3.3 on Debian):
>
> CC [M] fs/xfs/xfs_buf_item.o
> fs/xfs/xfs_buf_item.c: In function `xfs_buf_iodone_callbacks':
> fs/xfs/xfs_buf_item.c:1055: warning: long long unsigned int format, xfs_daddr_t arg (arg 3)
>
> The following patch seems to fix it - is it correct?
>
> ===== fs/xfs/xfs_buf_item.c 1.16 vs edited =====
> --- 1.16/fs/xfs/xfs_buf_item.c Mon Feb 9 06:12:20 2004
> +++ edited/fs/xfs/xfs_buf_item.c Thu May 6 20:09:01 2004
> @@ -1053,7 +1053,7 @@
> (time_after(jiffies, (lasttime + 5*HZ)))) {
> lasttime = jiffies;
> prdev("XFS write error in file system meta-data "
> - "block 0x%Lx in %s",
> + "block 0x%Zx in %s",
> XFS_BUF_TARGET(bp),
> XFS_BUF_ADDR(bp), mp->m_fsname);
> }
In most other places we've used %llu and an explicit cast to
(unsigned long long) when dumping block numbers - I'll fix
that one up.
thanks.
--
Nathan
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-05-06 19:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-06 17:33 [PATCH] XFS warning on sparc64 Meelis Roos
2004-05-06 19:58 ` Nathan Scott
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®