From: Randy Dunlap Subject: [PATCH v2] sunrpc: fix build-time warning Date: Fri, 1 Jan 2010 18:25:14 -0800 Message-ID: <20100101182514.cb1f49ef.randy.dunlap@oracle.com> References: <1262226195-27733-1-git-send-email-jlayton@redhat.com> <20091231091815.a1ea7e51.rdunlap@xenotime.net> <20091231205454.0f84f091@tupile.poochiereds.net> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Cc: Trond Myklebust , Stephen Rothwell , linux-kernel@vger.kernel.org, linux-nfs@vger.kernel.org To: Jeff Layton Return-path: Received: from rcsinet12.oracle.com ([148.87.113.124]:17990 "EHLO rcsinet12.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752196Ab0ABCZq (ORCPT ); Fri, 1 Jan 2010 21:25:46 -0500 In-Reply-To: <20091231205454.0f84f091-PC62bkCOHzGdMjc06nkz3ljfA9RmPOcC@public.gmane.org> Sender: linux-nfs-owner@vger.kernel.org List-ID: From: Randy Dunlap Fix auth_gss printk format warning: net/sunrpc/auth_gss/auth_gss.c:660: warning: format '%ld' expects type 'long int', but argument 3 has type 'ssize_t' Signed-off-by: Randy Dunlap --- net/sunrpc/auth_gss/auth_gss.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-next-20091229.orig/net/sunrpc/auth_gss/auth_gss.c +++ linux-next-20091229/net/sunrpc/auth_gss/auth_gss.c @@ -657,7 +657,7 @@ gss_pipe_downcall(struct file *filp, con break; default: printk(KERN_CRIT "%s: bad return from " - "gss_fill_context: %ld\n", __func__, err); + "gss_fill_context: %zd\n", __func__, err); BUG(); } goto err_release_msg; ---