public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH -next] infiniband: fix printk format in hw/nes_cm.c
       [not found] <20111013181606.a204565fad9caaa0fe680b75@canb.auug.org.au>
@ 2011-10-13 22:08 ` Randy Dunlap
  2011-10-17 21:18   ` Roland Dreier
  0 siblings, 1 reply; 2+ messages in thread
From: Randy Dunlap @ 2011-10-13 22:08 UTC (permalink / raw)
  To: Stephen Rothwell
  Cc: linux-next, LKML, Andrew Morton, Faisal Latif, Linux RDMA,
	Roland Dreier, Sean Hefty, Hal Rosenstock

From: Randy Dunlap <rdunlap@xenotime.net>

Fix printk format warning seen on x86_64:
drivers/infiniband/hw/nes/nes_cm.c:3190:2: warning: format '%zu' expects type 'size_t', but argument 11 has type 'int'

Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Cc: Faisal Latif <faisal.latif@intel.com>
---
 drivers/infiniband/hw/nes/nes_cm.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- next-2011-1013.orig/drivers/infiniband/hw/nes/nes_cm.c
+++ next-2011-1013/drivers/infiniband/hw/nes/nes_cm.c
@@ -3189,7 +3189,7 @@ int nes_accept(struct iw_cm_id *cm_id, s
 
 	nes_debug(NES_DBG_CM, "QP%u, Destination IP = 0x%08X:0x%04X, local = "
 		  "0x%08X:0x%04X, rcv_nxt=0x%08X, snd_nxt=0x%08X, mpa + "
-		  "private data length=%zu.\n", nesqp->hwqp.qp_id,
+		  "private data length=%u.\n", nesqp->hwqp.qp_id,
 		  ntohl(cm_id->remote_addr.sin_addr.s_addr),
 		  ntohs(cm_id->remote_addr.sin_port),
 		  ntohl(cm_id->local_addr.sin_addr.s_addr),

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

* Re: [PATCH -next] infiniband: fix printk format in hw/nes_cm.c
  2011-10-13 22:08 ` [PATCH -next] infiniband: fix printk format in hw/nes_cm.c Randy Dunlap
@ 2011-10-17 21:18   ` Roland Dreier
  0 siblings, 0 replies; 2+ messages in thread
From: Roland Dreier @ 2011-10-17 21:18 UTC (permalink / raw)
  To: Randy Dunlap
  Cc: Stephen Rothwell, linux-next, LKML, Andrew Morton, Faisal Latif,
	Linux RDMA, Sean Hefty, Hal Rosenstock

Thanks, rolled this into the offending commit.

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

end of thread, other threads:[~2011-10-17 21:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20111013181606.a204565fad9caaa0fe680b75@canb.auug.org.au>
2011-10-13 22:08 ` [PATCH -next] infiniband: fix printk format in hw/nes_cm.c Randy Dunlap
2011-10-17 21:18   ` Roland Dreier

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