]> git.neil.brown.name Git - history.git/commitdiff
[PATCH] warning fixes
authorAlan Cox <alan@lxorguk.ukuu.org.uk>
Fri, 1 Nov 2002 03:39:30 +0000 (19:39 -0800)
committerLinus Torvalds <torvalds@home.transmeta.com>
Fri, 1 Nov 2002 03:39:30 +0000 (19:39 -0800)
These are from inl going back to 32bit

drivers/net/dl2k.c
drivers/net/fealnx.c

index dba4fbe337e8d1450cfc3e62dd1c935cefdd74bc..2e9ef5e0f947ef99210e9475fa31767167e42b5d 100644 (file)
@@ -535,7 +535,7 @@ rio_tx_timeout (struct net_device *dev)
 {
        long ioaddr = dev->base_addr;
 
-       printk (KERN_INFO "%s: Tx timed out (%4.4lx), is buffer full?\n",
+       printk (KERN_INFO "%s: Tx timed out (%4.4x), is buffer full?\n",
                dev->name, readl (ioaddr + TxStatus));
        rio_free_tx(dev, 0);
        dev->if_port = 0;
index 19779347b6dfeadc32c200c3cca4d5c60bd29449..09c3b278be0433533c56ccf10c2f888b21c23732 100644 (file)
@@ -1155,8 +1155,8 @@ static void netdev_timer(unsigned long data)
        unsigned int old_linkok = np->linkok;
 
        if (debug)
-               printk(KERN_DEBUG "%s: Media selection timer tick, status %8.8x "
-                      "config %8.8x.\n", dev->name, readl(ioaddr + ISR),
+               printk(KERN_DEBUG "%s: Media selection timer tick, status %8.8lx "
+                      "config %8.8lx.\n", dev->name, readl(ioaddr + ISR),
                       readl(ioaddr + TCRRCR));
 
        if (np->flags == HAS_MII_XCVR) {
@@ -1184,7 +1184,7 @@ static void tx_timeout(struct net_device *dev)
        long ioaddr = dev->base_addr;
        int i;
 
-       printk(KERN_WARNING "%s: Transmit timed out, status %8.8x,"
+       printk(KERN_WARNING "%s: Transmit timed out, status %8.8lx,"
               " resetting...\n", dev->name, readl(ioaddr + ISR));
 
        {
@@ -1555,7 +1555,7 @@ static void intr_handler(int irq, void *dev_instance, struct pt_regs *rgs)
        np->stats.rx_crc_errors += (readl(ioaddr + TALLY) & 0x7fff0000) >> 16;
 
        if (debug)
-               printk(KERN_DEBUG "%s: exiting interrupt, status=%#4.4x.\n",
+               printk(KERN_DEBUG "%s: exiting interrupt, status=%#4.4lx.\n",
                       dev->name, readl(ioaddr + ISR));
 
        writel(np->imrvalue, ioaddr + IMR);