From: Randy Dunlap <randy.dunlap@xxxxxxxxxx> m68k: drivers/block/z2ram.c:82: warning: format '%lu' expects type 'long unsigned int', but argument 2 has type 'sector_t' Signed-off-by: Randy Dunlap <randy.dunlap@xxxxxxxxxx> --- drivers/block/z2ram.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) --- linux-2.6.31-rc8-git1.orig/drivers/block/z2ram.c +++ linux-2.6.31-rc8-git1/drivers/block/z2ram.c @@ -78,8 +78,10 @@ static void do_z2_request(struct request int err = 0; if (start + len > z2ram_size) { - printk( KERN_ERR DEVICE_NAME ": bad access: block=%lu, count=%u\n", - blk_rq_pos(req), blk_rq_cur_sectors(req)); + printk( KERN_ERR DEVICE_NAME + ": bad access: block=%llu, count=%u\n", + (unsigned long long)blk_rq_pos(req), + blk_rq_cur_sectors(req)); err = -EIO; goto done; } --- ~Randy LPC 2009, Sept. 23-25, Portland, Oregon http://linuxplumbersconf.org/2009/ -- To unsubscribe from this list: send the line "unsubscribe linux-m68k" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html