]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
net/caif: Use pr_fmt
authorJoe Perches <joe@perches.com>
Sun, 5 Sep 2010 21:31:11 +0000 (21:31 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 7 Sep 2010 01:48:43 +0000 (18:48 -0700)
commitb31fa5bad576cd8180a5ad70c648333b44320d44
treeb31239e8828e7e5b36ef85a0715ababc4f556e42
parenta0ece28539d49c9bdcc6da0bbb26771dceb57581
net/caif: Use pr_fmt

This patch standardizes caif message logging prefixes.

Add #define pr_fmt(fmt) KBUILD_MODNAME ":%s(): " fmt, __func__
Add missing "\n"s to some logging messages
Convert pr_warning to pr_warn

This changes the logging message prefix from CAIF: to caif:
for all uses but caif_socket.c and chnl_net.c.  Those now use
their filename without extension.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
16 files changed:
net/caif/caif_dev.c
net/caif/caif_socket.c
net/caif/cfcnfg.c
net/caif/cfctrl.c
net/caif/cfdbgl.c
net/caif/cfdgml.c
net/caif/cffrml.c
net/caif/cfmuxl.c
net/caif/cfpkt_skbuff.c
net/caif/cfrfml.c
net/caif/cfserl.c
net/caif/cfsrvl.c
net/caif/cfutill.c
net/caif/cfveil.c
net/caif/cfvidl.c
net/caif/chnl_net.c