All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Randy.Dunlap" <rddunlap@osdl.org>
To: netdev@oss.sgi.com, sri@us.ibm.com
Subject: [PATCH] sctp/socket: fix printk arg. type
Date: Mon, 15 Nov 2004 11:42:34 -0800	[thread overview]
Message-ID: <419906AA.8010705@osdl.org> (raw)

[-- 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);
 


             reply	other threads:[~2004-11-15 19:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-15 19:42 Randy.Dunlap [this message]
2004-11-18 21:52 ` [PATCH] sctp/socket: fix printk arg. type David S. Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=419906AA.8010705@osdl.org \
    --to=rddunlap@osdl.org \
    --cc=netdev@oss.sgi.com \
    --cc=sri@us.ibm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.