net/sctp: Use pr_fmt and pr_<level>
authorJoe Perches <joe@perches.com>
Tue, 24 Aug 2010 13:21:08 +0000 (13:21 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 26 Aug 2010 21:11:48 +0000 (14:11 -0700)
commit145ce502e44b57c074c72cfdc855557e19026999
treefd663feae03f5c5f4a31ceecd6a61e790344b8b3
parentdee06e4702b5a64b9ca81e650d66223c5b3e7f14
net/sctp: Use pr_fmt and pr_<level>

Change SCTP_DEBUG_PRINTK and SCTP_DEBUG_PRINTK_IPADDR to
use do { print } while (0) guards.
Add SCTP_DEBUG_PRINTK_CONT to fix errors in log when
lines were continued.
Add #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
Add a missing newline in "Failed bind hash alloc"

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
16 files changed:
include/net/sctp/sctp.h
net/sctp/associola.c
net/sctp/chunk.c
net/sctp/inqueue.c
net/sctp/ipv6.c
net/sctp/objcnt.c
net/sctp/output.c
net/sctp/outqueue.c
net/sctp/probe.c
net/sctp/protocol.c
net/sctp/sm_make_chunk.c
net/sctp/sm_sideeffect.c
net/sctp/sm_statefuns.c
net/sctp/sm_statetable.c
net/sctp/socket.c
net/sctp/transport.c