[PATCH] fat-fs printk arg. fix

Randy.Dunlap (rddunlap@osdl.org)
Tue, 3 Jun 2003 16:02:00 -0700


Hi,

A recent fatfs patch for large partitions upset printk.
Here's a patch for it.

--
~Randy

patch_name: fat-printk.patch patch_version: 2003-06-03.15:37:48 author: Randy.Dunlap <rddunlap@osdl.org> description: printk() args are unhappy with recent change for large partition support; product: Linux product_versions: 2.5.70 maintainer: OGAWA Hirofumi diffstat: = fs/fat/misc.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-)

diff -Naur ./fs/fat/misc.c%PRTK ./fs/fat/misc.c --- ./fs/fat/misc.c%PRTK 2003-06-02 14:35:15.000000000 -0700 +++ ./fs/fat/misc.c 2003-06-03 14:40:49.000000000 -0700 @@ -311,7 +311,7 @@ *bh = sb_bread(sb, phys); if (*bh == NULL) { printk(KERN_ERR "FAT: Directory bread(block %llu) failed\n", - phys); + (u64)phys); /* skip this block */ *pos = (iblock + 1) << sb->s_blocksize_bits; goto next; - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/