diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2007-08-10 17:05:21 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-08-14 01:34:53 -0400 |
commit | b4efe22cc987f4cd68ff838556580c0cc8c64cbc (patch) | |
tree | a64d42271012b006c64d59d1e056da37079b3aef | |
parent | 626fda948839fc2f488f527076b8f42b1b7a4687 (diff) |
ax88796 printk fixes
drivers/net/ax88796.c: In function `ax_probe':
drivers/net/ax88796.c:825: warning: size_t format, different type arg (arg 4)
drivers/net/ax88796.c:825: warning: size_t format, different type arg (arg 5)
resource_size_t isn't size_t.
Cc: Jeff Garzik <jeff@garzik.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
-rw-r--r-- | drivers/net/ax88796.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/net/ax88796.c b/drivers/net/ax88796.c index 83da1770bafb..90e0734e6037 100644 --- a/drivers/net/ax88796.c +++ b/drivers/net/ax88796.c | |||
@@ -821,8 +821,9 @@ static int ax_probe(struct platform_device *pdev) | |||
821 | dev->base_addr = (unsigned long)ei_status.mem; | 821 | dev->base_addr = (unsigned long)ei_status.mem; |
822 | 822 | ||
823 | if (ei_status.mem == NULL) { | 823 | if (ei_status.mem == NULL) { |
824 | dev_err(&pdev->dev, "Cannot ioremap area (%08zx,%08zx)\n", | 824 | dev_err(&pdev->dev, "Cannot ioremap area (%08llx,%08llx)\n", |
825 | res->start, res->end); | 825 | (unsigned long long)res->start, |
826 | (unsigned long long)res->end); | ||
826 | 827 | ||
827 | ret = -ENXIO; | 828 | ret = -ENXIO; |
828 | goto exit_req; | 829 | goto exit_req; |