[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <498B8B4D.3070603@lougher.demon.co.uk>
Date: Fri, 06 Feb 2009 00:58:53 +0000
From: Phillip Lougher <phillip@...gher.demon.co.uk>
To: Andrew Morton <akpm@...ux-foundation.org>
CC: linux-fsdevel@...r.kernel.org, linux-kernel@...r.kernel.org,
snakebyte@....de, sliedes@...hut.fi
Subject: Re: [PATCH] Squashfs: Fix oops when reading fsfuzzer corrupted filesystems
Andrew Morton wrote:
> On Wed, 04 Feb 2009 03:07:48 +0000
> Phillip Lougher <phillip@...gher.demon.co.uk> wrote:
>
>> - ERROR("sb_bread failed reading block 0x%llx\n", cur_index);
>> + ERROR("squashfs_read_data failed to read block 0x%llx\n", index);
>
> `index' has type u64. You don't know what C type is used to implement
> u64, hence it must be cast to a known type before it can be passed to
> printk.
>
Yeah missed that. I resisted using u64 and used 'long long' for these
until very recently.
Phillip
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists