[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20081102163311.44e4ddef@extreme>
Date: Sun, 2 Nov 2008 16:33:11 -0800
From: Stephen Hemminger <shemminger@...tta.com>
To: Harvey Harrison <harvey.harrison@...il.com>
Cc: netdev@...r.kernel.org
Subject: warnings from recent format patch
Even if you can't run it, please compile and run sparse on your
code.
CC [M] net/sunrpc/xprtsock.o
net/sunrpc/xprtsock.c: In function ‘xs_format_ipv4_peer_addresses’:
net/sunrpc/xprtsock.c:287: warning: too many arguments for format
static void xs_format_ipv4_peer_addresses(struct rpc_xprt *xprt,
const char *protocol,
const char *netid)
{
struct sockaddr_in *addr = xs_addr_in(xprt);
char *buf;
buf = kzalloc(20, GFP_KERNEL);
if (buf) {
snprintf(buf, 20, "pI4", &addr->sin_addr.s_addr);
^
missing %
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists