public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH] MTD: m25p80: fix printk format warning
@ 2006-03-28  0:14 Randy.Dunlap
  2006-03-28  0:20 ` Andrew Morton
  0 siblings, 1 reply; 3+ messages in thread
From: Randy.Dunlap @ 2006-03-28  0:14 UTC (permalink / raw)
  To: dwmw2, akpm; +Cc: linux-mtd, lkml

From: Randy Dunlap <rdunlap@xenotime.net>

Fix printk format warning:
drivers/mtd/devices/m25p80.c:189: warning: format '%zd' expects type 'signed size_t', but argument 6 has type 'u_int32_t'

Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
---
 drivers/mtd/devices/m25p80.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

--- linux-2616-g13.orig/drivers/mtd/devices/m25p80.c
+++ linux-2616-g13/drivers/mtd/devices/m25p80.c
@@ -186,7 +186,7 @@ static int m25p80_erase(struct mtd_info 
 	struct m25p *flash = mtd_to_m25p(mtd);
 	u32 addr,len;
 
-	DEBUG(MTD_DEBUG_LEVEL2, "%s: %s %s 0x%08x, len %zd\n",
+	DEBUG(MTD_DEBUG_LEVEL2, "%s: %s %s 0x%08x, len %d\n",
 			flash->spi->dev.bus_id, __FUNCTION__, "at",
 			(u32)instr->addr, instr->len);
 


---

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

* Re: [PATCH] MTD: m25p80: fix printk format warning
  2006-03-28  0:14 [PATCH] MTD: m25p80: fix printk format warning Randy.Dunlap
@ 2006-03-28  0:20 ` Andrew Morton
  2006-03-28  1:05   ` Josh Boyer
  0 siblings, 1 reply; 3+ messages in thread
From: Andrew Morton @ 2006-03-28  0:20 UTC (permalink / raw)
  To: Randy.Dunlap; +Cc: linux-mtd, dwmw2, linux-kernel

"Randy.Dunlap" <rdunlap@xenotime.net> wrote:
>
> Fix printk format warning:
> drivers/mtd/devices/m25p80.c:189: warning: format '%zd' expects type 'signed size_t', but argument 6 has type 'u_int32_t'

Thanks, this is already fixed in one of the oft-sent, oft-ignored MTD
patches in -mm.

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

* Re: [PATCH] MTD: m25p80: fix printk format warning
  2006-03-28  0:20 ` Andrew Morton
@ 2006-03-28  1:05   ` Josh Boyer
  0 siblings, 0 replies; 3+ messages in thread
From: Josh Boyer @ 2006-03-28  1:05 UTC (permalink / raw)
  To: Andrew Morton; +Cc: dwmw2, Randy.Dunlap, linux-mtd, linux-kernel

On 3/27/06, Andrew Morton <akpm@osdl.org> wrote:
> "Randy.Dunlap" <rdunlap@xenotime.net> wrote:
> >
> > Fix printk format warning:
> > drivers/mtd/devices/m25p80.c:189: warning: format '%zd' expects type 'signed size_t', but argument 6 has type 'u_int32_t'
>
> Thanks, this is already fixed in one of the oft-sent, oft-ignored MTD
> patches in -mm.

They aren't ignored by everyone.  And I believe the maintainers are
planning on syncing in 2.6.17.

I try to at least Ack patches that look sane to me, but my opinion
doesn't count all that much.

josh

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

end of thread, other threads:[~2006-03-28  1:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-28  0:14 [PATCH] MTD: m25p80: fix printk format warning Randy.Dunlap
2006-03-28  0:20 ` Andrew Morton
2006-03-28  1:05   ` Josh Boyer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox