netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [patch 10/18] ax88796 printk fixes
@ 2007-08-10 21:05 akpm
  2007-08-14  5:35 ` Jeff Garzik
  0 siblings, 1 reply; 2+ messages in thread
From: akpm @ 2007-08-10 21:05 UTC (permalink / raw)
  To: jeff; +Cc: netdev, akpm

From: Andrew Morton <akpm@linux-foundation.org>

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>
---

 drivers/net/ax88796.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff -puN drivers/net/ax88796.c~ax88796-printk-fixes drivers/net/ax88796.c
--- a/drivers/net/ax88796.c~ax88796-printk-fixes
+++ a/drivers/net/ax88796.c
@@ -821,8 +821,9 @@ static int ax_probe(struct platform_devi
 	dev->base_addr = (unsigned long)ei_status.mem;
 
 	if (ei_status.mem == NULL) {
-		dev_err(&pdev->dev, "Cannot ioremap area (%08zx,%08zx)\n",
-			res->start, res->end);
+		dev_err(&pdev->dev, "Cannot ioremap area (%08llx,%08llx)\n",
+			(unsigned long long)res->start,
+			(unsigned long long)res->end);
 
  		ret = -ENXIO;
 		goto exit_req;
_

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [patch 10/18] ax88796 printk fixes
  2007-08-10 21:05 [patch 10/18] ax88796 printk fixes akpm
@ 2007-08-14  5:35 ` Jeff Garzik
  0 siblings, 0 replies; 2+ messages in thread
From: Jeff Garzik @ 2007-08-14  5:35 UTC (permalink / raw)
  To: akpm; +Cc: netdev

akpm@linux-foundation.org wrote:
> From: Andrew Morton <akpm@linux-foundation.org>
> 
> 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>
> ---
> 
>  drivers/net/ax88796.c |    5 +++--
>  1 files changed, 3 insertions(+), 2 deletions(-)

applied



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-08-14  5:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-10 21:05 [patch 10/18] ax88796 printk fixes akpm
2007-08-14  5:35 ` Jeff Garzik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).