]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/net/netxen/netxen_nic_hw.c
drivers/net/netxen/netxen_nic_hw.c: fix printk warnings
[linux-2.6-omap-h63xx.git] / drivers / net / netxen / netxen_nic_hw.c
index 4259f3fb899db66523f7837fa9c00f5099ef7219..9aa20f961618aff39195cec203306e285db7bdad 100644 (file)
@@ -1417,7 +1417,8 @@ static int netxen_nic_pci_mem_read_direct(struct netxen_adapter *adapter,
                (netxen_nic_pci_is_same_window(adapter, off+size-1) == 0)) {
                write_unlock_irqrestore(&adapter->adapter_lock, flags);
                printk(KERN_ERR "%s out of bound pci memory access. "
-                       "offset is 0x%llx\n", netxen_nic_driver_name, off);
+                       "offset is 0x%llx\n", netxen_nic_driver_name,
+                       (unsigned long long)off);
                return -1;
        }
 
@@ -1490,7 +1491,8 @@ netxen_nic_pci_mem_write_direct(struct netxen_adapter *adapter, u64 off,
                (netxen_nic_pci_is_same_window(adapter, off+size-1) == 0)) {
                write_unlock_irqrestore(&adapter->adapter_lock, flags);
                printk(KERN_ERR "%s out of bound pci memory access. "
-                       "offset is 0x%llx\n", netxen_nic_driver_name, off);
+                       "offset is 0x%llx\n", netxen_nic_driver_name,
+                       (unsigned long long)off);
                return -1;
        }