]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[CASSINI]: Fix printk warning.
authorAndrew Morton <akpm@osdl.org>
Tue, 17 Jan 2006 23:14:49 +0000 (15:14 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 17 Jan 2006 23:14:49 +0000 (15:14 -0800)
drivers/net/cassini.c:1930: warning: long unsigned int format, different type arg (arg 4)

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/cassini.c

index 1f7ca453bb4a28c48a5e44da3024df4b8facdb5c..dde631f8f685fe6453b6738da508c0a162de3411 100644 (file)
@@ -1925,8 +1925,8 @@ static void cas_tx(struct net_device *dev, struct cas *cp,
        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",
-                       cp->dev->name, status, compwb);
+               printk(KERN_DEBUG "%s: tx interrupt, status: 0x%x, %llx\n",
+                       cp->dev->name, status, (unsigned long long)compwb);
        /* process all the rings */
        for (ring = 0; ring < N_TX_RINGS; ring++) {
 #ifdef USE_TX_COMPWB