Subject: [PATCH -next] infiniband: fix printk format in hw/nes_cm.c

From: Randy Dunlap <[email-masked]>
Date: Thu, 13 Oct 2011 15:08:07 -0700

From: Randy Dunlap <[email-masked]>

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 <[email-masked]>
Cc: Faisal Latif <[email-masked]>
---
 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),