netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] sctp/socket: fix printk arg. type
@ 2004-11-15 19:42 Randy.Dunlap
  2004-11-18 21:52 ` David S. Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Randy.Dunlap @ 2004-11-15 19:42 UTC (permalink / raw)
  To: netdev, sri

[-- Attachment #1: Type: text/plain, Size: 255 bytes --]

fix printk argument type warning:
net/sctp/socket.c:2672: warning: format argument is not a pointer (arg 5)

diffstat:=
   net/sctp/socket.c |    2 +-
   1 files changed, 1 insertion(+), 1 deletion(-)

Signed-off-by: Randy Dunlap <rddunlap@osdl.org>
-- 


[-- Attachment #2: socket_printk.patch --]
[-- Type: text/x-patch, Size: 499 bytes --]

diff -Naurp ./net/sctp/socket.c~socket_printk ./net/sctp/socket.c
--- ./net/sctp/socket.c~socket_printk	2004-11-15 10:02:01.901678280 -0800
+++ ./net/sctp/socket.c	2004-11-15 10:56:53.683251416 -0800
@@ -2669,7 +2669,7 @@ static int sctp_getsockopt_sctp_status(s
 		goto out;
 	}
 
-	SCTP_DEBUG_PRINTK("sctp_getsockopt_sctp_status(%d): %d %d %p\n",
+	SCTP_DEBUG_PRINTK("sctp_getsockopt_sctp_status(%d): %d %d %d\n",
 			  len, status.sstat_state, status.sstat_rwnd,
 			  status.sstat_assoc_id);
 


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

* Re: [PATCH] sctp/socket: fix printk arg. type
  2004-11-15 19:42 [PATCH] sctp/socket: fix printk arg. type Randy.Dunlap
@ 2004-11-18 21:52 ` David S. Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David S. Miller @ 2004-11-18 21:52 UTC (permalink / raw)
  To: Randy.Dunlap; +Cc: netdev, sri

On Mon, 15 Nov 2004 11:42:34 -0800
"Randy.Dunlap" <rddunlap@osdl.org> wrote:

> fix printk argument type warning:
> net/sctp/socket.c:2672: warning: format argument is not a pointer (arg 5)

Applied, thanks Randy.

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

end of thread, other threads:[~2004-11-18 21:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-15 19:42 [PATCH] sctp/socket: fix printk arg. type Randy.Dunlap
2004-11-18 21:52 ` David S. Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).