Commit 9534896e authored by David S. Miller's avatar David S. Miller

[SKFDDI]: Use unsigned long for resource base/size.

parent 683f95ce
...@@ -217,7 +217,7 @@ static int skfp_init_one(struct pci_dev *pdev, ...@@ -217,7 +217,7 @@ static int skfp_init_one(struct pci_dev *pdev,
{ {
struct net_device *dev; struct net_device *dev;
struct s_smc *smc; /* board pointer */ struct s_smc *smc; /* board pointer */
u32 port, len; unsigned long port, len;
int err; int err;
PRINTK(KERN_INFO "entering skfp_init_one\n"); PRINTK(KERN_INFO "entering skfp_init_one\n");
...@@ -240,7 +240,7 @@ static int skfp_init_one(struct pci_dev *pdev, ...@@ -240,7 +240,7 @@ static int skfp_init_one(struct pci_dev *pdev,
len = pci_resource_len(pdev, 0); len = pci_resource_len(pdev, 0);
if (len < 0x4000) { if (len < 0x4000) {
printk(KERN_ERR "skfp: Invalid PCI region size: %d\n", len); printk(KERN_ERR "skfp: Invalid PCI region size: %lu\n", len);
err = -EIO; err = -EIO;
goto err_out1; goto err_out1;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment