Re: PATCH: cassini printk format warning

From: Andrew Morton
Date: Tue Jan 17 2006 - 16:39:04 EST


Alexey Dobriyan <adobriyan@xxxxxxxxx> wrote:
>
> 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.

ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.15/2.6.15-mm4/broken-out/cassini-printk-fix.patch
-
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/