Re: PATCH: cassini printk format warning

From: Alexey Dobriyan
Date: Tue Jan 17 2006 - 16:16:43 EST


On Tue, Jan 17, 2006 at 06:39:34PM +0000, Alan Cox wrote:
> --- linux.vanilla-2.6.16-rc1/drivers/net/cassini.c
> +++ linux-2.6.16-rc1/drivers/net/cassini.c
> @@ -1925,7 +1925,7 @@
> u64 compwb = le64_to_cpu(cp->init_block->tx_compwb);
> #endif
> if (netif_msg_intr(cp))
> - printk(KERN_DEBUG "%s: tx interrupt, status: 0x%x, %lx\n",
> + printk(KERN_DEBUG "%s: tx interrupt, status: 0x%x, %llx\n",
> cp->dev->name, status, compwb);

"%llx", (unsigned long long)u64

is the warningless way on all archs.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/